View Single Post
  #8   Spotlight this post!  
Unread 28-03-2004, 21:37
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: A serious (FATAL) error in the FRC documentation (competition_mode)

someone asked me how to tell if this documentation error is an issue for their team - best way to check is have your SW guys search your code for "competition_mode" and see if anyone used it for anything - if not you are ok - if they did use it to initialize stuff then, yes, if they went by the programmers manual it will do the opposite of what you would expect - so if you find an

If (competition_mode..... statement in your code, check it carefully

you programmers may have already discovered that the documentation is backwards - so dont blindly change it

just make sure its correct:

competition_mode=0 when the robot is enabled

competition_mode=1 when the robot is disabled