diff --git a/src/modules/simulation/simulator_mavlink/SimulatorMavlink.cpp b/src/modules/simulation/simulator_mavlink/SimulatorMavlink.cpp index bb6478858c..f494b9cbce 100644 --- a/src/modules/simulation/simulator_mavlink/SimulatorMavlink.cpp +++ b/src/modules/simulation/simulator_mavlink/SimulatorMavlink.cpp @@ -611,6 +611,7 @@ void SimulatorMavlink::handle_message_hil_state_quaternion(const mavlink_message local_position.heading = euler.psi(); local_position.unaided_heading = local_position.heading; + local_position.heading_good_for_control = true; local_position.xy_global = true; local_position.z_global = true;