Difference between revisions of "RoboCup Radio 2009"
Jump to navigation
Jump to search
(→Channels) |
|||
Line 9: | Line 9: | ||
=Channels= | =Channels= | ||
− | * Should be | + | * A small number of channel configurations (8-16?) should be stored on the robot for scanning. Would prefer EEPROM on MCU for this. Should not require JTAG flash to change these. |
+ | ** Channel config includes bit rate, modulation, power, etc. Everything can be configured per channel. | ||
+ | ** These *will* change during competition. Expect frequent changes during setup as other teams go online and crowd us out. | ||
+ | ** Too many possible channels to scan in an acceptable amount of time. | ||
+ | * Each robot will scan for the host among the channels it knows on power-on and when it has received no radio data in some period of time (5s?). | ||
+ | ** Expect to wait at least 3 radio cycles (33ms) on each channel. If we miss three forward packets in a row, either the host is on another channel or the channel is unusable. | ||
+ | * Not sure how to select a channel for standalone mode. | ||
+ | ** Use last channel assigned by host, stored on the base | ||
+ | ** Select with joystick | ||
+ | ** Clear Channel Assessment (find lowest noise among configured channels) | ||
=Scanning= | =Scanning= |
Revision as of 12:38, 10 September 2008
Contents
Configuration
Need to consider a reliable communication protocol for performing robot configuration
- Radio configuration
- PID loops
- etc...
This is not done often, but a host-side application for this would be nice.
Channels
- A small number of channel configurations (8-16?) should be stored on the robot for scanning. Would prefer EEPROM on MCU for this. Should not require JTAG flash to change these.
- Channel config includes bit rate, modulation, power, etc. Everything can be configured per channel.
- These *will* change during competition. Expect frequent changes during setup as other teams go online and crowd us out.
- Too many possible channels to scan in an acceptable amount of time.
- Each robot will scan for the host among the channels it knows on power-on and when it has received no radio data in some period of time (5s?).
- Expect to wait at least 3 radio cycles (33ms) on each channel. If we miss three forward packets in a row, either the host is on another channel or the channel is unusable.
- Not sure how to select a channel for standalone mode.
- Use last channel assigned by host, stored on the base
- Select with joystick
- Clear Channel Assessment (find lowest noise among configured channels)
Scanning
Looking for robots that are turned on.
- This should be done per request of the host. Most likely during a stop/halt in gameplay because we do not reverse channel data then.
- Should be able to change a robot on the field without touching the computer.
Protocols
Forward
Reverse
Under normal operating conditions the reverse channel has several different modes of operation.
- Gameplay Mode
- Slow Update: All robots are reporting back every nth robot fast loop interval.
- Fast Update: Only one robot is reporting back, but is reporting every fast loop.
- Fast Engineering data
- Slow Engineering data
Information Types
There are three types of information that need to come back over the reverse channel. They are in order of priority.
Gameplay
Gameplay information needs to be updated frequently and is critical to good gameplay.
- Ball Presence
- Capacitor Voltage
Fast Engineering
These are things that we want to know periodically, but are not updated very quickly or are not critical to gameplay.
- Battery Health/Voltage
- RSSI
Slow Engineeting
Items that do not change at all or change very slowly during a match.
- Board serial number