|
Autonomous does not run during first enable
When we run our code from start up, our autonomous mode won't run until after we enable in autonomous mode, then disable and renable. However, when we just run deployed code, it will work the first time. This is fine for testing, but when we put the robot on the field, it just sits there because it is the first time to autonomous is enabled. Teleop mode will work the first time deployed or ran at start up.
We do get this error on the driver station:
−44036 An invalid set operation occurred, and the PWM channel was not allocated.
We have not been able to find the source of this error yet.
Has anyone had a problem with this and found a solution?
We could really use an autonomous mode for tomorrow.
Thanks,
Brandon
__________________
Core values, Core Pride.
|