Skip to content
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

SIH: fix sign error from previous PR #24205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mbjd
Copy link
Contributor

@mbjd mbjd commented Jan 13, 2025

Solved Problem

In PR #24175, I changed the control surface deflection signs in generate_fw_aerodynamics to make the 1103 airframe work correctly. However, this breaks the 1101 airframe, introducing sing errors there.

Solution

The change in generate_fw_aerodynamics is reverted to the state before PR #24175. Instead, the signs are set correctly by using the HIL_ACT_REV bitfield in the respective airframe config files.

Test coverage

Simulation logs. Stable forward flight, therefore correct signs for control surface outputs:

@mbjd mbjd requested a review from RomanBapst January 13, 2025 15:04
@mbjd mbjd requested a review from Jaeyoung-Lim January 13, 2025 15:14
In PR PX4#24175 I changed the
control surface deflection signs in generate_fw_aerodynamics to make the
1103 airframe work correctly. However, this breaks the 1101 airframe,
introducing sing errors there.

So, here the change in generate_fw_aerodynamics is reverted to the state
before PR PX4#24175. Instead, the signs are set correctly by using
the HIL_ACT_REV bitfield in the respective airframe config files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant