core: frontend: vehicle-setup: allow setting water density #3131
Labels
core
Issue related to BlueOS-core
enhancement
New feature or request
triage
Needs triage from developers
ui
User Interface feature
Current behaviour
We currently display the
BARO_SPEC_GRAV
parameter value for external barometers on water-based vehicle, but we don't actually allow the user to change it, so even if they realise they're using a freshwater assumption for depth estimation while operating in seawater, it's not obvious how to change that.Expected or desired behaviour
For vehicles that use it, add an editor for that parameter on the Baro calibration page, and potentially also on the overview page.
Ideally this would be via a specifier of salinity instead, and calculate a more realistic depth estimate that factors in the temperature and salinity together (instead of just directly defining a static density value), but a proper integration of that would require modifying the autopilot firmware too, which is out of scope for BlueOS.
Prerequisites
The text was updated successfully, but these errors were encountered: