Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Improve EV height starting condition #970

Description

@bresch

follows PX4/PX4-Autopilot#16489

The EV height starting condition only checks if the gathered data is not too old :

if (!_control_status.flags.ev_hgt && isRecent(_time_last_ext_vision, 2 * EV_MAX_INTERVAL)) {
)
In some cases, it can be that the EV system provides wrong data; in that case, it should be rejected and EV height should not start (or re-start).

FYI @cimbar

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions