Parameters: Changed rtl_approach_alt to float to support more granular altitudes

This commit is contained in:
Adam M Rivera 2012-04-16 10:06:29 -05:00
parent f27b5d538b
commit 2d096c401f
1 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ public:
AP_Float low_voltage; AP_Float low_voltage;
AP_Int8 super_simple; AP_Int8 super_simple;
AP_Int8 rtl_land_enabled; AP_Int8 rtl_land_enabled;
AP_Uint8 rtl_approach_alt; AP_Float rtl_approach_alt;
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
@ -332,7 +332,7 @@ public:
low_voltage (LOW_VOLTAGE), low_voltage (LOW_VOLTAGE),
super_simple (SUPER_SIMPLE), super_simple (SUPER_SIMPLE),
rtl_land_enabled (RTL_AUTO_LAND), rtl_land_enabled (RTL_AUTO_LAND),
rtl_approach_alt (0), rtl_approach_alt (0.0),
axis_enabled (AXIS_LOCK_ENABLED), axis_enabled (AXIS_LOCK_ENABLED),
copter_leds_mode (0), copter_leds_mode (0),