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

FW rate control: make use of Vector3f more intensively #22645

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

bresch
Copy link
Member

@bresch bresch commented Jan 17, 2024

Solved Problem

Everything operation was duplicated for roll, pitch and yaw. Even if it might be slightly more efficient at runtime (most likely not noticeable), having it done using matrix operations is cleaner.

Solution

Group every operation in a Vector3f object.

Test coverage

SITL tests

Copy link
Contributor

@sfuhrer sfuhrer left a comment

Choose a reason for hiding this comment

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

Nice clean up, thanks!

@bresch bresch merged commit 8158a14 into main Jan 17, 2024
91 checks passed
@bresch bresch deleted the pr-fw-rates-cleanup branch January 17, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants