You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Port existing Telemetry send_data.ino code to Rust. #1
Our current Telemetry code works fine, but there are no guarantees that it works. We don't have unit tests, compiler assurances, or unsafe promises.
This port is focused on send_data.ino, the sender microcontroller.
The Solution
To fix this situation, we're working on moving everything on over to Rust, where it's easy to maintain and change things as necessary.
At first, we'll just need to port our setup() function exactly, but we should move everything into individual systems as needed. I'd like to eventually have a "Car" or "Telemetry" struct which serves its data to users, both wirelessly and saving directly to disk. (both of which are easier in Rust)
Break into systems, such as the Potentiometer, Transceiver, Thermocouple, and maybe Serial if we create our own wrapper for it. Work on this as necessary. No need to rush! :)
Eventually, link this into a library of expected format structs, including temperature, acceleration, etc! This is so our other programs can easily encode and decode given data.
"System" format with Rust fundamentals like struct and trait.
Setup unit tests based on expected output values, output, and serial.
Activity
[-]Port existing Telemetry code to Rust.[/-][+]Port existing Telemetry `send_data.ino` code to Rust.[/+]