Go to Post H.A.T.E.R.S. = Having Anger Towards Everyone Reaching Success - pandamonium [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-02-2003, 11:14
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Pre-autonomous OI communication

From one of the FIRST updates I got the listing of the bit states in the PB_MODE byte for each phase of the competition. They indicated that the OI would be sending data to the robot up until the start of the human player period. Since the OI is supposed to talk to the RC during that time, we moved the program selection switch from the RC to the OI to save space.

There is a BCD thumbwheel switch (0-9) that the flight crew will use to select the autonomous program. We have a local variable storing the number, updating it only when comp_mode = 1 and auton_mode = 0. I'm assuming that during the 10 seconds the human players are on the field the OI will be sending the data to the RC, but the flight crew will have to be behind the line.

Can anyone who may be using the same method and tried it over the weekend let me know if it worked? Thanks
  #2   Spotlight this post!  
Unread 11-03-2003, 14:11
mtrawls's Avatar
mtrawls mtrawls is offline
I am JVN! (John von Neumann)
#0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Mar 2003
Location: Hampton, VA
Posts: 295
mtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to behold
Send a message via AIM to mtrawls
Team 122 did something very similar to this at the VCU regional in Richmond this past weekend. Since comp_mode is 1 before the match and after the match, we used this fact to set our program (that it is 1 after the match was inconsequential to us). When the operator would put down the board, she would hit the sensor override switch to "tell" the program that it was time to pick an autonomous program. Next we used the joystick to pick the from 0-8 -- since we have nine to choose from, this is the easist to do without adding any more switches to the program. And when the joystick is in the right position, the sensor override switch was hit back to its previous state, and the choice was then "locked."

Yes, the crew must be behind the line during the 10 seconds, but it worked great for us to just choose while we were setting the control board up. We used this method, and we had no problems with it ... (I suppose I should note that we had no problems with the selection code; now as to what was actually chosen, that's another story! Anyway, that's fixed now.)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A better autonomous method.. randomperson Programming 4 24-02-2004 18:02
crazy idea for autonomous Mike Ciance Programming 16 24-04-2003 21:50
variable? manodrum Programming 11 01-04-2003 17:20
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11
Autonomous Kill Switch UCGL_Guy Programming 8 15-01-2003 17:39


All times are GMT -5. The time now is 07:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi