Skip to content

AP_Motors: MOT_THST_HOVER param desc min/max fixed - #29478

Merged
rmackay9 merged 1 commit into
ArduPilot:masterfrom
rmackay9:copter-mot-thst-hover-param-desc
Mar 10, 2025
Merged

AP_Motors: MOT_THST_HOVER param desc min/max fixed#29478
rmackay9 merged 1 commit into
ArduPilot:masterfrom
rmackay9:copter-mot-thst-hover-param-desc

Conversation

@rmackay9

@rmackay9 rmackay9 commented Mar 10, 2025

Copy link
Copy Markdown
Contributor

This updates the MOT_THST_HOVER parameter descriptions to match the actual limits enforced in the code (see here)

This inconsistency came up in this discussion during 4.6 beta testing

This change has been tested by running, "./Tools/autotest/autotest.py build.Copter test.Copter.Parameters" and reviewing the output of the "buildlogs/apm.pdef.xml" file before and after.

BEFORE

      <param humanName="Thrust Hover Value" name="MOT_THST_HOVER" documentation="Motor thrust needed to hover expressed as a number from 0 to 1" user="Advanced">
        <field name="Range">0.2 0.8</field>
      </param>

AFTER

      <param humanName="Thrust Hover Value" name="MOT_THST_HOVER" documentation="Motor thrust needed to hover expressed as a number from 0 to 1" user="Advanced">
        <field name="Range">0.125 0.6875</field>
      </param>

@amilcarlucas amilcarlucas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement

@peterbarker peterbarker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rmackay9
rmackay9 merged commit e761edf into ArduPilot:master Mar 10, 2025
@rmackay9

Copy link
Copy Markdown
Contributor Author

thanks for the reviews, merged so we can't save time on the dev call

@rmackay9
rmackay9 deleted the copter-mot-thst-hover-param-desc branch March 10, 2025 10:30
@rmackay9

Copy link
Copy Markdown
Contributor Author

this is included in 4.6.0-beta5

@rmackay9 rmackay9 moved this from Pending to 4.6.0-beta5 in 4.6 Backports Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 4.6.0-beta5

Development

Successfully merging this pull request may close these issues.

4 participants