acb47b48ef
Finds the module itself (every non-modem adapter, 115200 then 9600), so the adapter can be swapped. Mounting by --forward/--right; attitude from a complementary filter on gravity (gyro through motion, accelerometer near 1 g); gravity removed from acceleration; yaw rate left-positive. Never writes to the module. dialout via SupplementaryGroups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz
45 lines
770 B
TOML
45 lines
770 B
TOML
[package]
|
|
name = "svc-core"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Acquisition and processing cluster: recorder, decoder, gnss, imu, orin-status and obd-poller now; can-bridge later"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "recorder"
|
|
path = "src/recorder/main.rs"
|
|
|
|
[[bin]]
|
|
name = "orin-status"
|
|
path = "src/orin-status/main.rs"
|
|
|
|
[[bin]]
|
|
name = "obd-poller"
|
|
path = "src/obd-poller/main.rs"
|
|
|
|
[[bin]]
|
|
name = "decoder"
|
|
path = "src/decoder/main.rs"
|
|
|
|
[[bin]]
|
|
name = "gnss"
|
|
path = "src/gnss/main.rs"
|
|
|
|
[[bin]]
|
|
name = "imu"
|
|
path = "src/imu/main.rs"
|
|
|
|
[[bin]]
|
|
name = "bus-bench"
|
|
path = "src/bus-bench/main.rs"
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
rumqttc = { version = "0.25", default-features = false }
|
|
serde_json = "1"
|
|
signal-hook = "0.3"
|
|
zstd = "0.13"
|
|
|
|
[profile.release]
|
|
strip = true
|