mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
Rover: remove obsolete parameter documentation
These four @Param blocks sit on their own after the var_info tables, attached to nothing. Their own preamble says they were put there so beta Mission Planner could pick up descriptions from master, and that they could be removed "once Rover-3.6-beta testing begins". All four describe parameters that no longer exist: CH7_OPTION replaced by RC7_OPTION in Rover-3.5 AUX_CH gone with the same rework PIVOT_TURN_ANGLE converted to WP_PIVOT_ANGLE PIVOT_TURN_RATE converted to WP_PIVOT_RATE The last two still have their entries in conversion_table[], which is what actually carries an old stored value across, and is untouched. These are not merely dead comments. param_parse.py harvests them, so the generated metadata has been advertising four parameters the firmware does not have. Regenerating Rover metadata before and after removes exactly Rover:CH7_OPTION, Rover:AUX_CH, Rover:PIVOT_TURN_ANGLE and Rover:PIVOT_TURN_RATE, and changes nothing else. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
Randy Mackay
co-authored by
Claude Opus 5
parent
5618e813c5
commit
8f94cedce7
@@ -678,36 +678,6 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
||||
// These auxiliary channel param descriptions are here so that users of beta Mission Planner (which uses the master branch as its source of descriptions)
|
||||
// can get them. These lines can be removed once Rover-3.6-beta testing begins or we improve the source of descriptions for GCSs.
|
||||
//
|
||||
// @Param: CH7_OPTION
|
||||
// @DisplayName: Channel 7 option
|
||||
// @Description: What to do use channel 7 for
|
||||
// @Values: 0:Nothing,1:SaveWaypoint,2:LearnCruiseSpeed,3:ArmDisarm,4:Manual,5:Acro,6:Steering,7:Hold,8:Auto,9:RTL,10:SmartRTL,11:Guided,12:Loiter
|
||||
// @User: Standard
|
||||
|
||||
// @Param: AUX_CH
|
||||
// @DisplayName: Auxiliary switch channel
|
||||
// @Description: RC Channel to use for auxiliary functions including saving waypoints
|
||||
// @User: Advanced
|
||||
|
||||
// @Param: PIVOT_TURN_ANGLE
|
||||
// @DisplayName: Pivot turn angle
|
||||
// @Description: Navigation angle threshold in degrees to switch to pivot steering. This allows you to setup a skid steering rover to turn on the spot in auto mode when the angle it needs to turn it greater than this angle. An angle of zero means to disable pivot turning. Note that you will probably also want to set a low value for WP_RADIUS to get neat turns.
|
||||
// @Units: deg
|
||||
// @Range: 0 360
|
||||
// @Increment: 1
|
||||
// @User: Standard
|
||||
|
||||
// @Param: PIVOT_TURN_RATE
|
||||
// @DisplayName: Pivot turn rate
|
||||
// @Description: Desired pivot turn rate in deg/s.
|
||||
// @Units: deg/s
|
||||
// @Range: 0 360
|
||||
// @Increment: 1
|
||||
// @User: Standard
|
||||
|
||||
ParametersG2::ParametersG2(void)
|
||||
:
|
||||
#if AP_ROVER_ADVANCED_FAILSAFE_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user