for some reason MRL1107 seems to be unable to handle

i01.leftArm.rotate.map(40,180,155,20)

so i need to map it and change direction in another way.

it would be nice if i could get some help.

Mats

8 years 9 months ago

Hi Markus

Switch the order of the mapping parameters, so that the two last parameters come in min / max order.

And change the two first parameters so that you still get the same mapping.

For example:

i01.leftArm.rotate.map(40,180,155,20)

Change to

i01.leftArm.rotate.map(180,40,20,155)

 

Hmmm Now they are in the correct position but I can't move them with the sliders in the servo tab.

or in any other way for that matter

Hi Markus.

I have changed MRL, so that it now handles parameters in the order that you have used from the start. Please download the latest version and try your script again.

/Mats