ArduCopter - LEDS - two new parameters to support COPTER_LEDS.
Code by Robert Lefebvre.
This commit is contained in:
parent
213fd91930
commit
d1a5d1f94c
@ -100,7 +100,8 @@ public:
|
||||
k_param_sonar_type,
|
||||
k_param_super_simple,
|
||||
k_param_rtl_land_enabled,
|
||||
k_param_axis_enabled, //157
|
||||
k_param_axis_enabled,
|
||||
k_param_copter_leds_mode, //158
|
||||
|
||||
//
|
||||
// 160: Navigation parameters
|
||||
@ -210,6 +211,7 @@ public:
|
||||
AP_Int8 super_simple;
|
||||
AP_Int8 rtl_land_enabled;
|
||||
AP_Int8 axis_enabled;
|
||||
AP_Int8 copter_leds_mode; // Operating mode of LED lighting system
|
||||
|
||||
|
||||
|
||||
@ -329,6 +331,7 @@ public:
|
||||
super_simple (SUPER_SIMPLE),
|
||||
rtl_land_enabled (RTL_AUTO_LAND),
|
||||
axis_enabled (AXIS_LOCK_ENABLED),
|
||||
copter_leds_mode (0),
|
||||
|
||||
waypoint_mode (0),
|
||||
command_total (0),
|
||||
|
@ -102,6 +102,7 @@ static const AP_Param::Info var_info[] PROGMEM = {
|
||||
GSCALAR(acro_p, "ACRO_P"),
|
||||
GSCALAR(axis_lock_p, "AXIS_P"),
|
||||
GSCALAR(axis_enabled, "AXIS_ENABLE"),
|
||||
GSCALAR(copter_leds_mode, "LED_MODE"),
|
||||
|
||||
// PID controller
|
||||
//---------------
|
||||
|
Loading…
Reference in New Issue
Block a user