mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Parameters: Added g.retro_loiter which is configurable by the user via the MP.
This commit is contained in:
parent
788df5ed6f
commit
ec06638db6
@ -111,6 +111,7 @@ public:
|
|||||||
k_param_crosstrack_gain,
|
k_param_crosstrack_gain,
|
||||||
k_param_auto_land_timeout,
|
k_param_auto_land_timeout,
|
||||||
k_param_rtl_approach_alt,
|
k_param_rtl_approach_alt,
|
||||||
|
k_param_retro_loiter,
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -213,6 +214,7 @@ public:
|
|||||||
AP_Int8 super_simple;
|
AP_Int8 super_simple;
|
||||||
AP_Int8 rtl_land_enabled;
|
AP_Int8 rtl_land_enabled;
|
||||||
AP_Float rtl_approach_alt;
|
AP_Float rtl_approach_alt;
|
||||||
|
AP_Int8 retro_loiter;
|
||||||
AP_Int8 axis_enabled;
|
AP_Int8 axis_enabled;
|
||||||
AP_Int8 copter_leds_mode; // Operating mode of LED lighting system
|
AP_Int8 copter_leds_mode; // Operating mode of LED lighting system
|
||||||
|
|
||||||
@ -334,6 +336,7 @@ public:
|
|||||||
super_simple (SUPER_SIMPLE),
|
super_simple (SUPER_SIMPLE),
|
||||||
rtl_land_enabled (RTL_AUTO_LAND),
|
rtl_land_enabled (RTL_AUTO_LAND),
|
||||||
rtl_approach_alt (0.0),
|
rtl_approach_alt (0.0),
|
||||||
|
retro_loiter (RETRO_LOITER_MODE),
|
||||||
axis_enabled (AXIS_LOCK_ENABLED),
|
axis_enabled (AXIS_LOCK_ENABLED),
|
||||||
copter_leds_mode (0),
|
copter_leds_mode (0),
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ static const AP_Param::Info var_info[] PROGMEM = {
|
|||||||
GSCALAR(super_simple, "SUPER_SIMPLE"),
|
GSCALAR(super_simple, "SUPER_SIMPLE"),
|
||||||
GSCALAR(rtl_land_enabled, "RTL_LAND"),
|
GSCALAR(rtl_land_enabled, "RTL_LAND"),
|
||||||
GSCALAR(rtl_approach_alt, "APPROACH_ALT"),
|
GSCALAR(rtl_approach_alt, "APPROACH_ALT"),
|
||||||
|
GSCALAR(retro_loiter, "RETRO_LOITER"),
|
||||||
|
|
||||||
|
|
||||||
GSCALAR(waypoint_mode, "WP_MODE"),
|
GSCALAR(waypoint_mode, "WP_MODE"),
|
||||||
|
Loading…
Reference in New Issue
Block a user