Use MAVSDK::RawMission in AzMissionController

TODO!!
- send mission indexes from AzMissionController to AzDroneController
- handle finishing of the mission
This commit is contained in:
Tuomas Järvinen
2024-12-01 21:51:02 +01:00
parent 37e8cfd3fe
commit 38953d0ba6
5 changed files with 170 additions and 256 deletions
+5 -5
View File
@@ -7,11 +7,11 @@
]
},
"action_points": [
{"point": [-35.35967231, 149.16146047], "height": 500, "action_enum": "waypoint"},
{"point": [-35.35973951, 149.16801175], "height": 400, "action_enum": "search", "action_specific": {"targets": ["artillery"]}},
{"point": [-35.36408532, 149.16816283], "height": 300, "action_enum": "search", "action_specific": {"targets": ["artillery", "tank"]}},
{"point": [-35.36546294, 149.16479791], "height": 300, "action_enum": "search", "action_specific": {"targets": ["tank"]}},
{"point": [-35.36364851, 149.16073255], "height": 500, "action_enum": "return"}
{"point": [-35.35967231, 149.16146047], "height": 50, "action_enum": "waypoint"},
{"point": [-35.35973951, 149.16801175], "height": 50, "action_enum": "search", "action_specific": {"targets": ["artillery"]}},
{"point": [-35.36408532, 149.16816283], "height": 50, "action_enum": "search", "action_specific": {"targets": ["artillery", "tank"]}},
{"point": [-35.36546294, 149.16479791], "height": 50, "action_enum": "search", "action_specific": {"targets": ["tank"]}},
{"point": [-35.36364851, 149.16073255], "height": 50, "action_enum": "return"}
],
"return_point": [-35.36286449, 149.16534729]
}