2010:Dashboard Packet documentation: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Programming (talk | contribs) No edit summary |
Programming (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
*Driver Station Data: cluster containing:<br> | *Driver Station Data: cluster containing:<br> | ||
#Digital Inputs 1 8-bit int showing which are on or off<br> | #Digital Inputs 1 8-bit int showing which are on or off<br> | ||
#Digital Outputs 1 8-bit int showing which are on or off<br> | #Digital Outputs 1 8-bit int showing which are on or off<br> | ||
#Analog Inputs: Cluster of 4 ints<br> | #Analog Inputs: Cluster of 4 ints<br> | ||
Line 26: | Line 26: | ||
#Left Joystick data: cluster containing: | #Left Joystick data: cluster containing: | ||
6 floats -- analog values | 6 floats -- analog values | ||
1 16-bit int -- digital | 1 16-bit int -- digital | ||
2. Right Joystick data: same as left joystick data, but for right joystick<br> | 2. Right Joystick data: same as left joystick data, but for right joystick<br> | ||
*Mode BYTE | *Mode BYTE<br> | ||
<br> | [ 0 -- Teleop Enabled<br> | ||
1 -- Teleop Disabled<br> | |||
2 -- Autonomous Enabled<br> | |||
3 -- Autonomous Disabled<br> | |||
4 -- E-STOP ]<br> | |||
*Alliance BYTE | |||
[ 0 -- Red | |||
1 -- Blue ] | |||
*Autonomous Mode BYTE | |||
[ Numbers TBA]<br> |
Revision as of 15:58, 3 February 2010
High Priority -- cluster unchanged from FIRST defaults
- Vision target data
Low Priority -- cluster containing:
- Debug data: cluster containing:
- Analog I/O Cluster of 8 floats
- Cluster containing:
Relays 1 8-bit int showing which relays are forward, 1 8-bit int showing which are reverse
Digital I/O 1 16-bit int for determining which are inputs and outputs, 1 16-bit int for on or off
PWM Cluster of 10 ints
- Driver Station Data: cluster containing:
- Digital Inputs 1 8-bit int showing which are on or off
- Digital Outputs 1 8-bit int showing which are on or off
- Analog Inputs: Cluster of 4 ints
- Joystick Data: cluster containing:
- Left Joystick data: cluster containing:
6 floats -- analog values
1 16-bit int -- digital
2. Right Joystick data: same as left joystick data, but for right joystick
- Mode BYTE
[ 0 -- Teleop Enabled
1 -- Teleop Disabled
2 -- Autonomous Enabled
3 -- Autonomous Disabled
4 -- E-STOP ]
- Alliance BYTE
[ 0 -- Red
1 -- Blue ]
- Autonomous Mode BYTE
[ Numbers TBA]