Quote:
Originally Posted by Hjax
You forgot to disable motor safety.
Motor safety kills the robot if you don't pass an update to the motor often enough (if i remember correctly)
Just put this line:
Code:
myRobot.SetSafetyEnabled(false);
before this line:
Code:
while (isOperatorControl()){
This will disable the motor safety (not a bad thing in this case to keep your motors spinning and your code working)
|
we have tried that, the code still does nothing, and the only difference is that we don't get timeout errors
Also, we shouldn't be getting timeout errors, as they should be getting updated often enough.