From e79e92a7897f888792a3e8f6e78e1a036bc9c5a5 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 12 Aug 2017 13:58:35 +0900 Subject: [PATCH] Rover: remove unused SPEED_TURN_DIST parameter --- APMrover2/Parameters.cpp | 9 --------- APMrover2/Parameters.h | 3 +-- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/APMrover2/Parameters.cpp b/APMrover2/Parameters.cpp index 6d746bca71..a3fb638a0a 100644 --- a/APMrover2/Parameters.cpp +++ b/APMrover2/Parameters.cpp @@ -132,15 +132,6 @@ const AP_Param::Info Rover::var_info[] = { // @User: Standard GSCALAR(speed_turn_gain, "SPEED_TURN_GAIN", 50), - // @Param: SPEED_TURN_DIST - // @DisplayName: Distance to turn to start reducing speed - // @Description: The distance to the next turn at which the rover reduces its target speed by the SPEED_TURN_GAIN - // @Units: m - // @Range: 0 100 - // @Increment: 0.1 - // @User: Standard - GSCALAR(speed_turn_dist, "SPEED_TURN_DIST", 2.0f), - // @Param: BRAKING_PERCENT // @DisplayName: Percentage braking to apply // @Description: The maximum reverse throttle braking percentage to apply when cornering diff --git a/APMrover2/Parameters.h b/APMrover2/Parameters.h index c947390cff..fcb887018a 100644 --- a/APMrover2/Parameters.h +++ b/APMrover2/Parameters.h @@ -104,7 +104,7 @@ public: k_param_crosstrack_entry_angle, k_param_speed_cruise, k_param_speed_turn_gain, - k_param_speed_turn_dist, + k_param_speed_turn_dist, // unused k_param_ch7_option, k_param_auto_trigger_pin, k_param_auto_kickstart, @@ -235,7 +235,6 @@ public: // AP_Float speed_cruise; AP_Int8 speed_turn_gain; - AP_Float speed_turn_dist; AP_Int8 ch7_option; AP_Int8 auto_trigger_pin; AP_Float auto_kickstart;