-
Notifications
You must be signed in to change notification settings - Fork 18.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove reduntant @Values from parameter documentation #27082
Remove reduntant @Values from parameter documentation #27082
Conversation
3d47ff2
to
183cda6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice PR!!!
Rover/Parameters.cpp
Outdated
@@ -636,8 +635,7 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = { | |||
// @Param: FS_OPTIONS | |||
// @DisplayName: Failsafe Options | |||
// @Description: Bitmask to enable failsafe options | |||
// @Values: 0:None,1:Failsafe enabled in Hold mode | |||
// @Bitmask: 0:Failsafe enabled in Hold mode | |||
// @Bitmask: 0:Failsafe enabled in Hold mode,1:Failsafe enabled in Hold mode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same string twice. Something is wrong here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
@@ -1135,8 +1132,7 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = { | |||
// @Param: DSPOILER_OPTS | |||
// @DisplayName: Differential spoiler and crow flaps options | |||
// @Description: Differential spoiler and crow flaps options | |||
// @Values: 0: none, 1: D spoilers have pitch input, 2: use both control surfaces on each wing for roll, 4: Progressive crow flaps only first (0-50% flap in) then crow flaps (50 - 100% flap in) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the details should be added in the description IMHO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
As this was causing a CI check we made locally to compare param values to param_metadata generated xml file.
…braries we have enforced this one-of-Values-or-Bitmask in libraries for a long time, and should have been enforcing it in vehicles before now. MissionPlanner and MAVProxy ignore Values if Bitmask is present
183cda6
to
c6ff1b1
Compare
we have enforced this one-of-Values-or-Bitmask in libraries for a long time, and should have been enforcing it in vehicles before now.
MissionPlanner and MAVProxy ignore Values if Bitmask is present
Built on top of #27070