supermileage / telemetry-firmware

Firmware for the Particle Electron that powers the CAN-enabled telemetry module.
1 stars 2 forks source link

Develop gps greenlist and greenlist override #87

Closed silviu-toderita closed 2 years ago

silviu-toderita commented 2 years ago

This adds a new file, src/gpsGreenlist.h, where we can define boxes where the GPS should upload position (lat/long). Altitude and all other GPS sensor properties are unaffected. I've added the entire UBC campus and Mission Race Ways to this header file so far. We will have to add more venues as we do parking lot tests, track tests, and competitions.

Also adds an override, where you can hold the button for 2 seconds and the greenlist will be ignored. The error light will flash in override mode, and the serial monitor will print repeated warnings. Closes #84