re-enable state hil

This commit is contained in:
Thomas Gubler
2013-09-20 09:44:48 +02:00
parent 2fb58f9990
commit d542735b2a
4 changed files with 95 additions and 3 deletions
+1
View File
@@ -574,6 +574,7 @@ handle_message(mavlink_message_t *msg)
orb_publish(ORB_ID(airspeed), pub_hil_airspeed, &airspeed);
}
hil_global_pos.valid = true;
hil_global_pos.lat = hil_state.lat;
hil_global_pos.lon = hil_state.lon;
hil_global_pos.alt = hil_state.alt / 1000.0f;