simulator_mavlink: add heading_good_for_control

This commit is contained in:
Daniel Agar 2024-02-15 15:46:14 -05:00
parent 5f91c7fc2b
commit d9a924225c
1 changed files with 1 additions and 0 deletions

View File

@ -611,6 +611,7 @@ void SimulatorMavlink::handle_message_hil_state_quaternion(const mavlink_message
local_position.heading = euler.psi(); local_position.heading = euler.psi();
local_position.unaided_heading = local_position.heading; local_position.unaided_heading = local_position.heading;
local_position.heading_good_for_control = true;
local_position.xy_global = true; local_position.xy_global = true;
local_position.z_global = true; local_position.z_global = true;