mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 16:47:34 +08:00
mission: remove altitude foh for rotarywing
This commit is contained in:
committed by
Lorenz Meier
parent
8e99c73f49
commit
2655c72cea
@@ -1119,8 +1119,10 @@ Mission::altitude_sp_foh_update()
|
||||
pos_sp_triplet->current.alt = a + grad * _min_current_sp_distance_xy;
|
||||
}
|
||||
|
||||
// we set altitude directly so we can run this in parallel to the heading update
|
||||
_navigator->set_position_setpoint_triplet_updated();
|
||||
if (!_navigator->get_vstatus()->is_rotary_wing) {
|
||||
// we set altitude directly so we can run this in parallel to the heading update
|
||||
_navigator->set_position_setpoint_triplet_updated();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user