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

Move PositionControl logging (PSCN, PSCE, PSCD) into AC_AttitudeControl library #26351

Merged
merged 5 commits into from
Feb 29, 2024

Conversation

peterbarker
Copy link
Contributor

Moves these closer to where they are used, less scattered across the codebase. We've done the same for a lot of libraries (e.g. the EKFs) and it has worked well.

{
const struct log_PSCx pkt{
LOG_PACKET_HEADER_INIT(id),
time_us : AP_HAL::micros64(),
Copy link
Contributor

@rmackay9 rmackay9 Feb 29, 2024

Choose a reason for hiding this comment

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

nitpick: small whitespace issue but preexisting it seems..

Copy link
Contributor

@rmackay9 rmackay9 left a comment

Choose a reason for hiding this comment

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

Build errors but in general this looks fine to me. Once it's tested you have my OK to merge.

@peterbarker
Copy link
Contributor Author

Build errors but in general this looks fine to me. Once it's tested you have my OK to merge.

Build errors fixed.

Copy link
Contributor

@lthall lthall left a comment

Choose a reason for hiding this comment

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

I am happy with the clean up :)

@peterbarker peterbarker merged commit d0cc35a into ArduPilot:master Feb 29, 2024
92 checks passed
@peterbarker peterbarker deleted the pr/move-poscontrol-logging branch February 29, 2024 08:53
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.

4 participants