Telemetry System
The new telemetry system uses a Raspberry Pi to collect CAN messages from the vehicle along with metrics such as GPS coordinates. We use Node-Red to collect this data and also send it to FRED’s Node-Red which will store our data in the cloud and allow us to pull data from InfluxDB which is hosted by FRED.
Raspberry Pi
The link below shows how to set up Node-Red, InfluxDB, and Grafana locally on the Raspberry Pi.
Telemetry: Storing Data on the PI
Multiple Network Interface Traffic
We can set up the Raspberry Pi such that we can send data over both LTE and wifi depending on the location of the vehicle and our situation. We can set this up on the Pi by following instructions provided here. Once this is set up, the Raspberry Pi will choose one of the two and send data over it under certain conditions (eg if wifi is weak then we use LTE or vice versa).
FRED
Link to FRED. This is the system we will be using that hosts Node-Red and InfluxDB on the cloud.
Long Term Storage
In terms of storing data locally on the Raspberry Pi, the data will be queried from InfluxDB from FRED and will be stored as .csv files on the Raspberry Pi.