diff options
author | Julian Oes <julian@oes.ch> | 2013-12-25 11:23:58 +0100 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-12-25 11:23:58 +0100 |
commit | b10fa3d0476ce6af977fe7e54bc361c44c27e9c4 (patch) | |
tree | 7c230c829f4a43d1f12d8936c4a67d170abedc3a /src/modules/navigator/navigator_main.cpp | |
parent | 5c33aeeb430a984d0802f1af73063afca793a98a (diff) | |
download | px4-firmware-b10fa3d0476ce6af977fe7e54bc361c44c27e9c4.tar.gz px4-firmware-b10fa3d0476ce6af977fe7e54bc361c44c27e9c4.tar.bz2 px4-firmware-b10fa3d0476ce6af977fe7e54bc361c44c27e9c4.zip |
Waypoints/Navigator: Use two different dataman storage places, keep old waypoints until all new ones are written
Diffstat (limited to 'src/modules/navigator/navigator_main.cpp')
-rw-r--r-- | src/modules/navigator/navigator_main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/navigator/navigator_main.cpp b/src/modules/navigator/navigator_main.cpp index d93ecc7cd..48f828ff7 100644 --- a/src/modules/navigator/navigator_main.cpp +++ b/src/modules/navigator/navigator_main.cpp @@ -440,6 +440,7 @@ Navigator::offboard_mission_update() struct mission_s offboard_mission; if (orb_copy(ORB_ID(mission), _offboard_mission_sub, &offboard_mission) == OK) { + _mission.set_offboard_dataman_id(offboard_mission.dataman_id); _mission.set_current_offboard_mission_index(offboard_mission.current_index); _mission.set_offboard_mission_count(offboard_mission.count); |