Use raw missions in AutoPilot

- uses MAVSDK::MissionRaw objects for missions
- added new state AZ_DRONE_STATE_MISSION_UPLOADED
- new state is used in AzDroneControllerPlane before waiting for AUTO switch

TODO!!
- move to AzMissionController
- use JSON file instead of hard coded mission items
This commit is contained in:
Tuomas Järvinen
2024-11-30 17:09:00 +01:00
parent be36fc5c50
commit 37e8cfd3fe
4 changed files with 182 additions and 16 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ int main(int argc, char *argv[])
qCritical() << "\tFirst argument: mission JSON file.";
qCritical() << "\tSecond argument: \"quadcopter\" or \"plane\".";
qCritical() << "\tThird argument: \"udp\" or \"serial\" for connection type.";
qCritical() << "\tFor example ./autopilot mission.json plane udp";
qCritical() << "\tFor example ./drone_controller mission.json plane udp";
return 1;
}