View Single Post
  #15   Spotlight this post!  
Unread 11-02-2005, 16:15
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: Multiple Auton's

Quote:
Originally Posted by AntmanIV
OK, my question: Is any data transmitted at all when the robot is disabled. eg. data is transmitted but ignored because the "disabled" flag is set?
Nothing is different in the data communication in disabled mode except for the actual "disabled" flag. Unless your code specifically checks that flag, the data is transmitted and acted on by the robot just as when the robot is enabled. The dashboard sees the pwm outputs being commanded, the user and LED control bytes come through unharmed, etc. The only real difference is that the master processor in the RC turns off all the actual output pins.

(Dave Lavery overstated the case when he said the data transmission from the OI is disabled during autonomous mode. The OI still sends data, but it is read by the robot code as all being inactive -- joysticks at center, all switches off, etc.)