I am experiencing some difficulty getting precision accuracy with the NXT motors. After using nMotorEncoderTarget for around 40 times, the motor error build upt to around 30 degrees inaccuracy. Aftering looking at the motorEncoder values during the program, I realised that they did not reset the motors.
But then why does this large error occur?Is there a better method of moving motors to a certain angle?Would "while(nMotorEncoder[motorA] < angle){ motor[motorA] = 20; }" work as well?I used the functions above dozens of times in the program.