New service: Create a service for general health monitoring
Proposa:
Create a new service. This would be responsible for checking the general vehicle's health. Such as:
-
Warn user on:
- Mismatch of vehicle Mavlink SYSID and container Mavlink SYSID
- Low disk space
- High Memory usage
- Unexpected packet loss
- Extensions hogging too many resources
- Corrupt configuration files
- Vehicle reset to factory (#2236)
- Kernel errors on dmesg (#3583) (#3304) (#3017)
- low/over voltage
- Missing vehicle calibrations (#1672)
- updates available (#2481)
- usb devices connection/disconnection
- Allow extensiosn to publish data, too (DVL too hot comes to mind).
-
Optional: allow picking "output channel" for each warning. I'd like low/over voltage and dvl warnings to be pushed to telegram, because I'm distracted sometimes
I imagine we could do this in Robyn so we don't further harm our boot times
Allow extensions to publish data
We could do it via zenoh
(I think) we agreed on having this be an data aggregator, which will fetch/receive data from the other services and publish it via mavlink/zenoh/telegram/email/smoke signals
... publish it via mavlink/zenoh/telegram/email/smoke signals
I think Zenoh (and maybe MAVLink) would be fine as what the service itself implements. External connectivity seems better managed by some non-core component (e.g. an Extension or Plugin) that gets its info from one of those outputs.
SD card speed test makes sense here!