I'm trying to make a program in NXT 2.0 that mirrors the (manual) movements of one motor to another.
I managed to start motor B running in the right direction but I am having trouble controlling the number of degrees. I tried using the degree
output of the sensor as input for the motor but it doesn't work: the B motor moves a bit but not the same amount of motor A.
So I tried with a loop instead: rotate motor B until its position is equal to motor A.
The second solution works slightly better but is still not precise.
Any suggestions?