Skip to content

[Bug] MAVLink multi-instance mission state conflicts. #24456

@hanhui03

Description

@hanhui03

Describe the bug

The MavlinkMissionManager::MavlinkMissionManager class during construction, only one instance will read the mission status and update private members such as _land_start_marker and _land_marker. For other instances, these members are initialized to -1. If another instance sets a new seq via MAVLINK_MSG_ID_MISSION_SET_CURRENT, the wrong _land_start_marker and _land_marker will be written to dataman and publish a wrong mission state.

To Reproduce

No response

Expected behavior

No response

Screenshot / Media

No response

Flight Log

No response

Software Version

No response

Flight controller

No response

Vehicle type

None

How are the different components wired up (including port information)

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions