Open
Description
If you have a robot, use for example, the following code while driving:
leftMotor.setmotor(_CCW, 0); rightMotor.setmotor(_CCW, 0);
The robot will turn the left wheel off first, then delay, and then the right wheel, causing the robot to turn 10-20 degrees left.
This is caused by
Is there a reason that this delay is here? Whatever the reason is, blocking the entire code for 100 ms is not the solution. I highly recommend removing the delay, it is not appropriate. If there are I²C problems, these must be solved in a different way than this.
Metadata
Metadata
Assignees
Labels
No labels