Browse Source

ArduCopter - LEDS - two new parameters to support COPTER_LEDS.

Code by Robert Lefebvre.
master
rmackay9 13 years ago
parent
commit
0a3bc9a66a
  1. 5
      ArduCopter/Parameters.h
  2. 1
      ArduCopter/Parameters.pde

5
ArduCopter/Parameters.h

@ -100,7 +100,8 @@ public: @@ -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: @@ -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: @@ -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),

1
ArduCopter/Parameters.pde

@ -102,6 +102,7 @@ static const AP_Param::Info var_info[] PROGMEM = { @@ -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…
Cancel
Save