View Single Post
  #13   Spotlight this post!  
Unread 23-01-2003, 08:49
ttedrow's Avatar
ttedrow ttedrow is offline
Herding electrons
AKA: Tim Tedrow
FRC #0281 (EnTech)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Greenville, SC
Posts: 165
ttedrow will become famous soon enoughttedrow will become famous soon enough
Ok Ok Ok!!! I had the comp_bit inverted. But the fact is the comp_mode bit does not change during the competition.

STANDBY PERIOD: (power on RC and OI)
comp_mode = Low
auton_mode = Low
Robot Controller Analog Outputs = 127
Robot Controller Digital Outputs = 0
Operator Interface Analog Inputs = 127
Operator Interface Digital Inputs = 0

AUTONOMOUS PERIOD:
comp_mode = Low
auton_mode = High
Robot Controller Analog Outputs = Program Control
Robot Controller Digital Outputs = Program Control
Operator Interface Analog Inputs = 127
Operator Interface Digital Inputs = 0

OPERATOR PERIOD:
comp_mode = Low
auton_mode = Low
Robot Controller Analog Outputs = Program Control
Robot Controller Digital Outputs = Program Control
Operator Interface Analog Inputs = Operator Control
Operator Interface Digital Inputs = Operator Control

Sorry for the confusion

BTW

rotatinglight = 1 - comp_mode
AND
rotatinglight = 1

do the same thing.

Tim Tedrow
__________________
Sr. Design Engineer
Caterpillar Inc.
Greenville, SC

KD4EGM

FRC 281 Greenvillains
Infected with the FIRST virus in 2000

Yes, Chute Door!!!