This project provides a minimal implementation for publishing data from a Raspberry Pi Pico W to an NT4 server (FIRST Robotics NetworkTables 4.1), including shared RTT (Round Trip Time) synchronization for accurate robot-side timestamps. It uses MicroPython and custom lightweight libraries for WebSockets, MessagePack, and logging.
- Connects Pico W to WiFi and NT4 server
- Publishes values to NT4 topics with synchronized robot time
- Shared RTT sync thread for all publisher instances
- Minimal dependencies, designed for MicroPython
Edit env.py with your WiFi credentials and NT4 server IP. Run main.py to start publishing demo values to the NT4 server.
Made by Bjorn from 4481 (Team Rembrandts).
This project will not receive any future support. It is provided as is without any guarantees.
See main.py for the entry point and nt4_pico.py for the NT4 publisher implementation.