|
Re: getting stuck in autonomous or hybrid on the field
Just curious (never looked at c++), does the wpilib for c++ have two classes like in Java? (SimpleRobot, IterativeRobot) If you used IterativeRobot, you could use teleopPeriodic() and autonomousPeriodic(), and not ever worry about bugs like this. (from your code, it looks identical to the purpose of Periodic methods)
__________________
All opinions are my own.
|