-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: matternet/dronecan_libcanard
base: master
head repository: dronecan/libcanard
compare: master
- 9 commits
- 12 files changed
- 3 contributors
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f11bdf7 - Browse repository at this point
Copy the full SHA f11bdf7View commit details
Commits on Sep 24, 2024
-
prevent sending partial multi-frame transfers
check that we have sufficient blocks available in the allocator before we start a multi-frame transfer to ensure we don't send a corrupt message by sending a subset of the frames. This can prevent a bus overload condition where the sender retries on a failed transfer, but the failed transfer consumes bus traffic and reduces the number of blocks available for the next transfer
Configuration menu - View commit details
-
Copy full SHA for 6f74bc6 - Browse repository at this point
Copy the full SHA 6f74bc6View commit details
Commits on Feb 23, 2025
-
pre-exclude source files when analyzing coverage
lcov 2.x, unlike lcov 1.x, gives errors like `geninfo: ERROR: mismatched end line for _ZN12CRC_CRC_Test8TestBodyEv at /home/runner/work/libcanard/libcanard/tests/test_crc.cpp:42: 42 -> 55` for source files which contain gtest tests. These files are removed from the coverage information in a later step, but lcov now fails to create the initial coverage info because of them. Fix this problem (and thus CI) by excluding the files from the initial coverage info instead of removing them later. Note that the exclude order is relevant to ensure all excludes trigger, avoiding errors that some are unused. Verified that identical coverage stats are generated for 2.x as compared to 1.x.
Configuration menu - View commit details
-
Copy full SHA for 52c205e - Browse repository at this point
Copy the full SHA 52c205eView commit details
Commits on Mar 4, 2025
-
canard++: fix HandlerList subclass semaphores
The Subscriber and Client subclasses need semaphores to protect their static branch lists. The Subscriber previously had one, but it didn't do anything because it wasn't static, and Client never had one. Fix the issue by making the HandlerList semaphore protected and re-using it. Co-authored-by: Andrew Tridgell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13d7128 - Browse repository at this point
Copy the full SHA 13d7128View commit details -
canard++: fix handler list constructor/destructor ordering
The handler subclass must not exist in the handler list until after the superclass constructor runs, and must be removed before the superclass destructor runs. Outside of this time, the handler object identity is the superclass, so a call to the handle_message method will cause a pure virtual error and crash the program. Fix the issue by adding/removing the object in the handler list in the subclass when the vtable is set up right and the handle_message can safely be called. Also wait until the branch list is set up so that the handle_message method can actually find the object. Co-authored-by: Andrew Tridgell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19ea632 - Browse repository at this point
Copy the full SHA 19ea632View commit details -
canard++: un-inline handler list methods
Mitigates flash impact of semaphore changes.
Configuration menu - View commit details
-
Copy full SHA for 9b05a4d - Browse repository at this point
Copy the full SHA 9b05a4dView commit details
Commits on Apr 2, 2025
-
Transfer type is not checked in c++ wrappers
fixes dronecan#79 thanks to Mykhaylo Shcherbak
Configuration menu - View commit details
-
Copy full SHA for d77db3f - Browse repository at this point
Copy the full SHA d77db3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f3056 - Browse repository at this point
Copy the full SHA e4f3056View commit details
Commits on May 5, 2025
-
C++: simplify the linked list handling
use a single linked list for message reception, not a list of lists this allows for the creation of new HandlerList handlers at runtime
Configuration menu - View commit details
-
Copy full SHA for 5d7b725 - Browse repository at this point
Copy the full SHA 5d7b725View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master