mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 01:53:33 +08:00
Commander: improve param description of COM_POSCTL_NAVL and rename Manual-->Stabilized
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Mathieu Bresciani
parent
2cda0efd84
commit
6b3e3aa363
@@ -292,7 +292,7 @@ FailsafeBase::Action Failsafe::fromOffboardLossActParam(int param_value, uint8_t
|
||||
user_intended_mode = vehicle_status_s::NAVIGATION_STATE_ALTCTL;
|
||||
break;
|
||||
|
||||
case offboard_loss_failsafe_mode::Manual:
|
||||
case offboard_loss_failsafe_mode::Stabilized:
|
||||
action = Action::FallbackStab;
|
||||
user_intended_mode = vehicle_status_s::NAVIGATION_STATE_STAB;
|
||||
break;
|
||||
|
||||
@@ -70,7 +70,7 @@ private:
|
||||
enum class offboard_loss_failsafe_mode : int32_t {
|
||||
Position_mode = 0,
|
||||
Altitude_mode = 1,
|
||||
Manual = 2,
|
||||
Stabilized = 2,
|
||||
Return_mode = 3,
|
||||
Land_mode = 4,
|
||||
Hold_mode = 5,
|
||||
|
||||
Reference in New Issue
Block a user