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

Feature/sw 112 libcanard multi frame rx len fix cherry pick #112

Merged

Conversation

loki077
Copy link
Contributor

@loki077 loki077 commented Mar 5, 2024

We have identified a critical bug fix in the libcanard submodule, as highlighted by Tridge. The fix addresses an issue that could potentially cause the watchdog to trigger on the peripheral. The key fix is available in this pull request: check decode in C++ wrappers and handle multiple frame starts by tridge.

However, we have decided not to cherry-pick the entire set of fixes at this time, as they can be incorporated in future upgrades. For the immediate resolution of the main bug, only one specific commit is required: e03112f.

Due to restrictions on modifying the Dronecan/libcanard repository within the Ardupilot project, we have created a fork of the libcanard repository and implemented the necessary changes there. Our forked branch can be found here: CarbonixUAV/libcanard - cx_dev.

loki077 added 2 commits March 4, 2024 21:46
cherry picked commit : ensure payload_len is zeroed on start of a new multi-frame packet

SW-112
@loki077
Copy link
Contributor Author

loki077 commented Mar 5, 2024

@Pradeep-Carbonix verify the module tree too

@loki077 loki077 merged commit a46fb26 into CxPilot Mar 5, 2024
62 checks passed
@robertlong13 robertlong13 deleted the feature/SW-112-libcanard-multi-frame-rx-len-fix-cherry-pick branch June 17, 2024 07:09
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