Skip to content
Snippets Groups Projects
Commit 737fe1fc authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Always perform yaw SP generation, not only in multicopter mode

parent b2237ce5
No related branches found
No related tags found
No related merge requests found
......@@ -193,9 +193,8 @@ Mission::on_active()
}
}
/* see if we need to update the current yaw heading for rotary wing types */
if (_navigator->get_vstatus()->is_rotary_wing
&& _param_yawmode.get() != MISSION_YAWMODE_NONE
/* see if we need to update the current yaw heading */
if (_param_yawmode.get() != MISSION_YAWMODE_NONE
&& _param_yawmode.get() < MISSION_YAWMODE_MAX
&& _mission_type != MISSION_TYPE_NONE) {
heading_sp_update();
......
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