Hello Chief Delphi!
I’m a mentor on team 3098, having trouble with programming. The issue at hand is testing autonomous mode, then switching to teleop or testing autonomous mode again without power cycling. I believe I know the issue at hand, due to another post, but I’m unsure how to fix it.
Essentially, I believe it’s making a new DifferentialDrive
upon first initialization autonomous mode, but fails to recreate/overwrite when switching to teleop or reiterating autonomous mode. Right now our method in fixing the issue is to simply power cycle. When switching to teleop or reiterating auton, the shooter wheels continue to run at full throttle while the drive train doesn’t move at all, hence why I write everywhere to set ShootPower(0.0);
- temporary solution that I find isn’t working.
Hopefully I’m posting the right robot code onto dropbox, but please let me know if it doesn’t work.
Yes I know our autonomous mode is using a timer, I hope to change that when we get encoders installed.
Many thanks,
Aaron