View Single Post
  Spotlight this post!  
Unread 13-03-2006, 22:59
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Good Switch For Autonomous Mode Select

Our autonomous mode was programmed using a self servicing command structure. We wanted to have full access to the field at the click of a button, but did not want go through the pain that is trigonometry on the PIC processor. We decided we wanted to use a pocket PC based map of the field to create way point data. Also, we wanted to get rid of most of the processing overhead on the handheld's processor, leaving us free to run a variety of sensors and a robot waypoint navigation system without the trouble of a co-processor.

To do this, we created a map of the field in Visual Basic with the coordinate system being the amount of encoder ticks it would take our robot to traverse from one side to the other. We are able to draw waypoints, and insert actions at each waypoint (shift gears, auto track corner goal, spit balls, suck in balls, change speed, change orientation.. etc) The VB program then made a list of commands, which were stored as base 255 numbers in the eeprom on the RC. Our RC program was made to accept incoming serial data and throw it in the eeprom.

We are able to select which autonomous mode we would like to use from a serial LCD on the robot, as well as access full diagnostics, such as feedback on all inputs and outputs. This has helped us tremendously and makes preparing the robot for matches ten times easier.