Skip to content
Snippets Groups Projects
Commit 188cc690 authored by Michael Oborne's avatar Michael Oborne
Browse files

AP fix attitude hil.

we where waiting on new_data that had no way of getting there.
parent 9d67f677
No related branches found
No related tags found
No related merge requests found
......@@ -235,6 +235,10 @@ void init_home()
// -----------------------------
while (!g_gps->new_data || !g_gps->fix) {
g_gps->update();
#if HIL_MODE != HIL_MODE_DISABLED
// update hil gps so we have new_data
gcs_update();
#endif
}
home.id = MAV_CMD_NAV_WAYPOINT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment