Closed FelixEL closed 2 months ago
@tridge and @bugobliterator - It would be great if you could approve it and merge to master before next release to PyPI. Before fix invocation of load_dsdl function was overwriting old subscribers without re-subscribing once again.
This is quite crucial bugfix as otherwise there is no way to add custom DSDL definitions using load_dsdl function.
sorry, needed to revert as it broke CI
load_dsdl overwrites dictionaries:
this is described in: https://github.com/dronecan/pydronecan/issues/65
this is very big problem when loading custom definitions of DSDL files. It loads files during initialization (works) but every consecutive execution of load_dsdl breaks previous link.
How to reproduce (minimal example): Please note that "./external_dependencies/custom" contains uavcan definitions