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

CommonDefaults: CPN OUT_BLH_MASK 1 #185

Merged
merged 1 commit into from
Sep 4, 2024

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:18
@loki077 loki077 merged commit 04fd7c9 into CxPilot Sep 4, 2024
19 checks passed
@loki077 loki077 deleted the feature/SW-333-cp-ns-set-out-blh-mask-to-1 branch September 4, 2024 04:27
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