Driver Station to CRIO Protocol
Luke Young edited this page Aug 10, 2013
·
20 revisions
Pages 18
Clone this wiki locally
Driver Station Packets are send to the 10.XX.YY.02 (CRIO) from the 10.XX.YY.05 (Driver Station) in the form of udp packets destined for port 1110 of udp packet data size of 1024.
- Bytes 0000 - 0002 | Packet Index
- Bytes 0002 - 0003 | Control Byte
- Bytes 0003 - 0004 | Digital Input
- Bytes 0004 - 0006 | Team Number
- Bytes 0006 - 0007 | Alliance
- Bytes 0007 - 0008 | Position
- Bytes 0008 - 0014 | Joystick Values (Joystick 1)
- Bytes 0014 - 0016 | Joystick Buttons (Joystick 1)
- Bytes 0016 - 0022 | Joystick Values (Joystick 2)
- Bytes 0022 - 0024 | Joystick Buttons (Joystick 2)
- Bytes 0024 - 0030 | Joystick Values (Joystick 3)
- Bytes 0030 - 0032 | Joystick Buttons (Joystick 3)
- Bytes 0032 - 0038 | Joystick Values (Joystick 4)
- Bytes 0038 - 0040 | Joystick Buttons (Joystick 4)
- Bytes 0040 - 0042 | Analog Value (Analog 1)
- Bytes 0042 - 0044 | Analog Value (Analog 2)
- Bytes 0044 - 0046 | Analog Value (Analog 3)
- Bytes 0046 - 0048 | Analog Value (Analog 4)
- Bytes 0048 - 0056 | cRIO Checksum
- Bytes 0056 - 0060 | FPGA Checksum (Checksum 0)
- Bytes 0060 - 0064 | FPGA Checksum (Checksum 1)
- Bytes 0064 - 0068 | FPGA Checksum (Checksum 2)
- Bytes 0068 - 0072 | FPGA Checksum (Checksum 3)
- Bytes 0072 - 0082 | Driver Station Version
- Bytes 0082 - 1020 | Unknown
- Bytes 1020 - 1024 | CRC Value