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

Cx7: CommonDefaults: CPN OUT_BLH_MASK 1 #186

Merged

Conversation

robertlong13
Copy link
Collaborator

@robertlong13 robertlong13 commented Sep 4, 2024

The fix for this snuck its way into the 5.2 release prep PR (#164) and never made it into main.

SW-333

A value of 3 means "query OUT1 and OUT2 for telemetry". The new APD
firmware sends telemetry always, without waiting for a query. This meant
that both OUT1 and OUT2 were showing active telemetry, despite the fact
that OUT2 is disabled in the configuration. This caused errant duplicate
esc.Status packets that toggled between an index of `motor_index` and 1.

This was causing the second ESCs telemetry to get clobbered with all the
other ESCs data in the log.
SW-259
@robertlong13 robertlong13 requested a review from loki077 September 4, 2024 04:22
@loki077
Copy link
Contributor

loki077 commented Sep 4, 2024

@robertlong13 good catch

Copy link
Contributor

@loki077 loki077 left a comment

Choose a reason for hiding this comment

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

merge on CI pass

@robertlong13 robertlong13 merged commit 2403a58 into CxPilot-7 Sep 4, 2024
34 checks passed
@robertlong13 robertlong13 deleted the feature/SW-333-cp-ns-set-out-blh-mask-to-1-Cx7 branch September 4, 2024 04:57
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.

2 participants