View Single Post
  #6   Spotlight this post!  
Unread 26-01-2005, 11:05
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: Using Custom Inputs on the Controller Board

Quote:
you can read the values before autonomous mode and save them on the robot controller itself to work around this.
I have a question about this. A few days ago I decided to write some dead reckoning code just for fun, and because I had never done so before. Basically I made it drive forward fast for 120 loops then turn left. I put it in the autonomous section and I expected the program would start running as soon as I turned the robot on even though I had it disabled. Basically I expected the program to run without driving the wheels until I enabled the robot. But it didnt. The program did not start running until I enabled the robot. This makes me wonder exactly how much of the code runs while the robot is disabled? Bascially I need the robot to tell the camera to track green even before the match starts. Can I do this somewhere or can we turn the robot on while it isnt on the field, and tether it so it will tell the camera this? Something?