Skip to content

Commit

Permalink
Fixed loiter time (hold time) being ignored on QGC mission import. (#…
Browse files Browse the repository at this point in the history
…1184)

Fix loiter time (hold time) being ignored on QGC mission import.
  • Loading branch information
petergerten committed Sep 7, 2020
1 parent 401f150 commit 4669ffd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/mission/mission_impl.cpp
Expand Up @@ -964,6 +964,7 @@ Mission::Result MissionImpl::build_mission_items(
auto is_fly_through = !(int(params[0]) > 0);
new_mission_item.is_fly_through = is_fly_through;
}
new_mission_item.loiter_time_s = params[0];
auto lat = params[4], lon = params[5];
new_mission_item.latitude_deg = lat;
new_mission_item.longitude_deg = lon;
Expand Down

0 comments on commit 4669ffd

Please sign in to comment.