mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 14:13:33 +08:00
replace FW_THR_CRUISE with FW_THR_TRIM
Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
committed by
Martina Rivizzigno
parent
226b8a6f90
commit
461d0561b8
@@ -1074,7 +1074,7 @@ void Navigator::reset_position_setpoint(position_setpoint_s &sp)
|
||||
|
||||
float Navigator::get_cruising_throttle()
|
||||
{
|
||||
/* Return the mission-requested cruise speed, or default FW_THR_CRUISE value */
|
||||
/* Return the mission-requested cruise speed, or default FW_THR_TRIM value */
|
||||
if (_mission_throttle > FLT_EPSILON) {
|
||||
return _mission_throttle;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user