Skip to content

Commit

Permalink
mavlink_mission: publish mission topic at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradRudin authored and dagar committed Jan 30, 2024
1 parent 9fd137e commit 97ce599
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/mavlink/mavlink_mission.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ MavlinkMissionManager::MavlinkMissionManager(Mavlink *mavlink) :
} else {
PX4_WARN("offboard mission init failed");
}

update_active_mission(_mission_dataman_id, _count[MAV_MISSION_TYPE_MISSION], _current_seq,
_crc32[MAV_MISSION_TYPE_MISSION], false);
}

_my_mission_dataman_id = _mission_dataman_id;
Expand Down

0 comments on commit 97ce599

Please sign in to comment.