forked from Archive/PX4-Autopilot
mavlink_mission: publish mission topic at startup
This commit is contained in:
parent
9fd137e88e
commit
97ce599b1f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue