Skip to content
/ nt2mqtt Public

WPILib FRC Network Tables to MQTT

License

Notifications You must be signed in to change notification settings

CS-5/nt2mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nt2mqtt

WPILib FRC Network Tables to MQTT

Goals

  • Stream live data from the robot to Grafana during test/practice
    • Useful for troubleshooting and testing
    • Same data being sent to the dashboard
  • Store data for later analysis
    • Lower-resolution version of the streaming data
    • Use Grafana for post-match analysis of critical systems and sensors
    • Time syncronization to correlate data with points during the match
    • Leverage Grafana annotations API to highlight segment of data during the match(?)

Overview

The general flow is as follows:

flowchart
    NT["Network Tables"]--NT Protocol-->Bridge
    Bridge--MQTT Protocol-->Mosquitto
    Mosquitto--Live Stream API-->Grafana
    Mosquitto--Telegraf MQTT Sub-->Telegraf
    Telegraf--HTTP API-->InfluxDB
    InfluxDB--Stored Metrics Query-->Grafana
Loading

Reference Links