-
Notifications
You must be signed in to change notification settings - Fork 20.2k
Description
Feature request
Is your feature request related to a problem? Please describe.
Rover (and hopefully soon Sub) make use of a WATER_DEPTH MAVLink message, which includes temperature data from a downward-facing rangefinder. Rangefinders don't always include temperature sensors (or they may not be super accurate), so it could be nice to be able to sub that in from a dedicated temperature sensor.
Describe the solution you'd like
Add a Rangefinder option to the temperature sensor source options, to allow the rangefinder driver temperature data to be overshadowed via the TEMPx_SRC parameters.
Describe alternatives you've considered
- The
WATER_DEPTHmessage could automatically fall back to another temperature source if one is provided, but that either reliant on the rangefinder not providing temperature data, or makes it ambiguous as to what is being used - The source could be specified as "water temperature" instead of specifically rangefinder, which could make it more broadly useful in future, but also makes it less clear when and where it's likely to be used.
- We could add dedicated MAVLink reporting for temperature sensors, and/or specifically for water temperature, which are both potentially good ideas, but then it's potentially unclear what source is being used for the temperature data in the
WATER_DEPTHmessage
Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[x] Rover
[x] Submarine
Additional context
#31616 may be a good reference for the temperature sensor library side of things.