Thanks! The two imported crates provide the interface to the hardware (servos and sensors), so they don't add much abstraction. Most abstraction is in `robot.rs`, so that `main.rs` is clean and high-level.
Without `rustfmt::skip`, rustfmt would break these sections into more lines but I prefer them to look like little tables.
Comments
Thanks! The two imported crates provide the interface to the hardware (servos and sensors), so they don't add much abstraction. Most abstraction is in `robot.rs`, so that `main.rs` is clean and high-level.
Without `rustfmt::skip`, rustfmt would break these sections into more lines but I prefer them to look like little tables.