mavlink_mission: add alternating storage for geofence and safe points on upload

This way the old points are kept on an upload error.
This commit is contained in:
Konrad
2023-12-05 13:35:03 +01:00
committed by Daniel Agar
parent 50f1abaef1
commit 9fd137e88e
7 changed files with 118 additions and 50 deletions
+2
View File
@@ -1,5 +1,7 @@
uint64 timestamp # time since system start (microseconds)
uint8 mission_dataman_id # default 0, there are two offboard storage places in the dataman: 0 or 1
uint8 fence_dataman_id # default 0, there are two offboard storage places in the dataman: 0 or 1
uint8 safepoint_dataman_id # default 0, there are two offboard storage places in the dataman: 0 or 1
uint16 count # count of the missions stored in the dataman
int32 current_seq # default -1, start at the one changed latest