forked from Archive/PX4-Autopilot
simulator_mavlink: add heading_good_for_control
This commit is contained in:
parent
5f91c7fc2b
commit
d9a924225c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue