Sav01027
28-03-2015, 15:13
We're coding an Autonomous mode in preparation for our next regional, and we're running into a very odd issue. We have our code set up so that it calls methods into the autonomous code (i.e. drive() would make it drive forward a set number of encoder rotations).
The issue that we're having is that when we enable the robot to run Auto, it acts unpredictably. Say, one time it would do it perfectly, but the next it would turn for a different number of degrees, or drive for a different distance, while running on identical code.
We have tried resetting the code and the roboRio, as well as checking the encoder values in Teleop. At least in Teleop, the encoders seem to be working fine.
Has anyone encountered this problem before, or has a solution for it?
Thanks
The issue that we're having is that when we enable the robot to run Auto, it acts unpredictably. Say, one time it would do it perfectly, but the next it would turn for a different number of degrees, or drive for a different distance, while running on identical code.
We have tried resetting the code and the roboRio, as well as checking the encoder values in Teleop. At least in Teleop, the encoders seem to be working fine.
Has anyone encountered this problem before, or has a solution for it?
Thanks