Quote:
|
Originally Posted by Tom Saxton
Code:
// WARNING: the OI bits get blasted when we're in autonomous mode
//
if (!autonomous_mode)
|
I don't know whether the "OI bits" are only neutralized when the
autonomous_mode flag is set, or if they go away when the autonomous
input on the OI is activated. When both the auto and disable inputs are active, as they might be moments before the match begins, the robot is just
disabled and not in
autonomous_mode.
If the OI switch and joystick inputs are read as neutral whenever the auto input is activated, then there can be a time when the
autonomous_mode isn't set but the OI inputs are not active. That's not something I checked when I was looking at how
autonomous_mode responded to various combinations of competition port settings, but I think it's worth looking into now.