Driver Station to RoboRIO
UDP
Sent every 20ms to the RoboRIO, UDP port 1110 (port 1115 when connected to FMS)
Field |
Length |
Type |
Comment |
|---|---|---|---|
Sequence Num |
2 |
uint16 |
|
Comm Version |
1 |
uint8 |
|
Control |
1 |
||
Request |
1 |
||
Alliance |
1 |
||
Tags |
n |
Control
Field |
Mask |
Comment |
|---|---|---|
E-Stop |
|
|
FMS Connected |
|
|
Enabled |
|
|
Mode |
|
0: Teleop, 1: Test, 2: Autonomous |
Request
Field |
Mask |
Comment |
|---|---|---|
Reboot RoboRIO |
|
|
Restart Code |
|
Alliance
Color is Red if value < 3, else Blue. Position is value % 3 + 1
TCP
Sent over TCP port 1740. Strings are either prefixed with a length (specified) or implied.
Field |
Length |
Type |
Comment |
Size |
2 |
uint16 |
Including ID |
ID |
1 |
uint8 |
See table below (only if Size > 0) |
Tags |
n |