mirror of https://github.com/ArduPilot/ardupilot
Rover: Change abbreviations
This commit is contained in:
parent
e5d580412e
commit
48336e4eff
|
@ -160,7 +160,7 @@ const AP_Param::Info Rover::var_info[] = {
|
|||
// @Description: Controls the action that will be taken when an EKF failsafe is invoked
|
||||
// @Values: 0:Disabled,1:Hold,2:ReportOnly
|
||||
// @User: Advanced
|
||||
GSCALAR(fs_ekf_action, "FS_EKF_ACTION", FS_EFK_HOLD),
|
||||
GSCALAR(fs_ekf_action, "FS_EKF_ACTION", FS_EKF_HOLD),
|
||||
|
||||
// @Param: FS_EKF_THRESH
|
||||
// @DisplayName: EKF failsafe variance threshold
|
||||
|
|
|
@ -85,8 +85,8 @@ enum fs_crash_action {
|
|||
|
||||
enum fs_ekf_action {
|
||||
FS_EKF_DISABLE = 0,
|
||||
FS_EFK_HOLD = 1,
|
||||
FS_EFK_REPORT_ONLY = 2,
|
||||
FS_EKF_HOLD = 1,
|
||||
FS_EKF_REPORT_ONLY = 2,
|
||||
};
|
||||
|
||||
#define DISTANCE_HOME_MINCHANGE 0.5f // minimum distance to adjust home location
|
||||
|
|
|
@ -163,9 +163,9 @@ void Rover::failsafe_ekf_event()
|
|||
case FS_EKF_DISABLE:
|
||||
// do nothing
|
||||
return;
|
||||
case FS_EFK_REPORT_ONLY:
|
||||
case FS_EKF_REPORT_ONLY:
|
||||
break;
|
||||
case FS_EFK_HOLD:
|
||||
case FS_EKF_HOLD:
|
||||
default:
|
||||
set_mode(mode_hold, ModeReason::EKF_FAILSAFE);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue