View Single Post
  #8   Spotlight this post!  
Unread 15-03-2005, 14:29
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Setting Autonomous Settings from OI

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.