Skip to content

Unblock baro connection check when external depth is available on mode switch to ALT_HOLD #32276

@ahoEIVA

Description

@ahoEIVA

Feature Request

I would like to switch to ALT_HOLD mode when depth sensor is not connected to the board.
Depth/Altitude is provided from an external source, and EK3_SRC1 parameters are configured to use GPS or ExternalNav.
(

!sub.control_check_barometer()) { // maybe use ekf_alt_ok() instead?
)

Describe the solution you'd like
There is already a suggestion in the code to implement altitude ok flag, I assume this could be true in above described scenario, or if baro is connected.

Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[x] Submarine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions