Closed stex closed 5 years ago
Yes, actually drive/steer blocks are not compatible with the blocks that just rotate the specified motor. This block: should be used when NXT is driving in order to turn it. I am not exactly sure how to deal with both blocks being used in one program, comments and suggestions are welcome
@bjost2s maybe you know?
Seems to be not solvable because regulated and unregulated functions influence each other when executed in the same program.
Possibly a continuation of #209
Describe the bug
When moving only one motor and trying to go forward afterwards, the motor with the smaller degree count is trying to sync up with the other one resulting in a fast curve motion.
To Reproduce Steps to reproduce the behavior:
Video: https://drive.google.com/file/d/1Zk5IJ0oU0fkrdMjGfX8OZlFMQtPKq9eN/view?usp=download
Generated NXC code:
The problem here is the
sync
flag inRotateMotorEx
: It leads to the motor which wasn't used inRotateMotor
trying to catch up to the other one, leading to a very fast movement and therefore a curve.Setting the
sync
flag tofalse
in the secondRotateMotorEx
call solves the problem, but - of course - might lead to other problems again.Expected behavior