Quote:
Originally Posted by Sav01027
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.
|
Are you calling SetPosition(0) in your AutonomousInit() for the encoders, etc? Or whatever the appropriate equivalent initialization spot is in your setup.