OpenCyphal-Garage / libcyphal

Portable reference implementation of the Cyphal protocol stack in C++ for embedded systems and Linux.
http://opencyphal.org
MIT License
300 stars 501 forks source link

Rework `TypeId` stuff at `SubscriberImpl` to be dynamic modules friendly. #380

Closed serges147 closed 1 week ago

serges147 commented 3 months ago

Instead of relying on address of a static template variable (which is not dynamic modules friendly), switch to Nunavut generated full type name string (python code already has it), from which could generate a hash per template instantiation, and use it as type id.

serges147 commented 1 week ago

Resolved by PR #396