mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 18:43:34 +08:00
commenting
This commit is contained in:
@@ -729,7 +729,7 @@ Navigator::get_cruising_speed()
|
|||||||
float
|
float
|
||||||
Navigator::get_cruising_throttle()
|
Navigator::get_cruising_throttle()
|
||||||
{
|
{
|
||||||
/* Return the mission-requested cruise speed, or -1 */
|
/* Return the mission-requested cruise speed, or default FW_THR_CRUISE value */
|
||||||
if (_mission_throttle > 0.0f) {
|
if (_mission_throttle > 0.0f) {
|
||||||
return _mission_throttle;
|
return _mission_throttle;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user