Files
svc-core/deploy/yukart-orin-status.service
T
mikkeli cce9711119
Rust (L4T) / Clippy, test, build, glibc (push) Failing after 1s
/ crosscheck (push) Successful in 1s
obd-poller over the K-line via the Bluetooth ELM327; gnss publisher; elm_connected
obd-poller drops its CAN socket: the Z27AG answers OBD-II only on ISO 9141-2.
It holds a raw RFCOMM link to the ELM (no pairing, no root), fixes the protocol
(ATSP3) so nothing probes CAN, publishes the obd_* signals, and releases the
adapter after a minute of ECU silence so it can sleep.
gnss: gpsd's fix as yukart/gnss/<signal>. orin-status: elm_connected from BlueZ.
One native deploy script (deploy-native.sh BIN) behind the per-service ones;
/etc/default/yukart-elm holds the adapter's address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz
2026-10-13 22:57:30 +09:00

20 lines
598 B
Desktop File

[Unit]
Description=Yukart orin-status: the Orin's own health on the bus
Documentation=gitea:yukart/svc-core
# Tier 2. Ordered after the broker and nothing else; it reconnects by itself if the broker restarts.
After=mosquitto.service
StartLimitIntervalSec=0
[Service]
User=mikkeli
# The UPS INA219 is on /dev/i2c-7, group i2c.
SupplementaryGroups=i2c
# The ELM's address, for elm_connected; without the file nothing is reported.
EnvironmentFile=-/etc/default/yukart-elm
ExecStart=/usr/local/bin/yukart-orin-status --elm ${ELM_ADDR}
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target