Real-time visualization of robot position on FRC field using NetworkTables.
Shows your robot moving on a field image with arrows indicating:
- 🔴 Red arrow = heading (where robot points)
- 🟢 Green arrow = velocity (where robot is moving)
- 🟣 Purple arrow = rotation (how fast robot is turning)
- Install dependencies:
pip install -r requirements.txt-
Place your
IrishField.pngfile in the same folder -
Run the display:
python robot_localization_display.py- H - Hide/show telemetry overlay
- ESC - Quit
- Drag window edges to resize
Your robot code should publish to the Pose table:
X- position in metersY- position in metersTheta- heading in radiansVX- X velocity in m/s (optional)VY- Y velocity in m/s (optional)Omega- rotation speed in rad/s (optional)
The display automatically calculates velocities if not provided.