Skip to content

AP_MotorsHeli: Add clarifying comments to yaw trim parameter metadata. #30904

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

Merged
merged 2 commits into from
Aug 19, 2025

Conversation

MattKear
Copy link
Member

No functional change.

Just adding some clarification to the yaw trim parameter metadata, following a conversation with a user on discord.

@@ -178,8 +178,8 @@ const AP_Param::GroupInfo AP_MotorsHeli_Single::var_info[] = {

// @Param: YAW_TRIM
// @DisplayName: Tail Rotor Trim
// @Description: Fixed offset applied to yaw output to minimize yaw I-term contribution needed to counter rotor drag. Currently only works of DDFP tails (H_TAIL_TYPE = 3 or H_TAIL_TYPE = 4). If using the H_COL2YAW compensation this trim is used to compensate for the main rotor profile drag. If H_COL2YAW is not used, this value can be set to reduce the yaw I contribution to zero when in a steady hover.
// @Range: 0 1
// @Description: Fixed offset applied to yaw output to minimize yaw I-term contribution needed to counter rotor drag. Currently only works of DDFP tails (H_TAIL_TYPE = 3 or H_TAIL_TYPE = 4). If using the H_COL2YAW compensation this trim is used to compensate for the main rotor profile drag. If H_COL2YAW is not used, this value can be set to reduce the yaw I-term to zero when in a steady hover. In this case, move trim in the direction of the I-term found in PIDY.I log message (e.g. negative I means you want negative trim).
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not the expert in this area but it looks ok to me.

BTW, there's an existing typo, "Currently only works of DDFP tails" which should probably be "Currently only works for DDFP tails"

Copy link
Contributor

@Ferruccio1984 Ferruccio1984 left a comment

Choose a reason for hiding this comment

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

Green light!

@Hwurzburg Hwurzburg added DevCallTopic WikiNeeded needs wiki update labels Aug 16, 2025
Copy link
Contributor

@bnsgeyer bnsgeyer left a comment

Choose a reason for hiding this comment

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

approved with suggested change. @MattKear please implement suggested change and once it passes CI, I can merge.

@bnsgeyer
Copy link
Contributor

@MattKear I realized that I was able to commit the suggested change. So that is what I did. I will merge once it passes CI. Thanks!

@bnsgeyer bnsgeyer merged commit da3b92e into ArduPilot:master Aug 19, 2025
105 checks passed
@MattKear
Copy link
Member Author

Thanks @bnsgeyer

@MattKear MattKear deleted the pr_heli_fix_yaw_trim_metadata branch August 20, 2025 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TradHeli WikiNeeded needs wiki update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants