Python implementation of the DroneCAN protocol stack (v1.0.27). Provides DSDL parsing, CAN bus communication, node management, and MAVLink bridging. Release cadence is irregular with occasional patches.
pip install dronecanVerified import paths — ran on the pinned version, not inferred.
Initialize a DroneCAN node on a SLCAN interface, subscribe to NodeStatus, and spin.
Use `from dronecan.uavcan.protocol import NodeStatus` after compiling DSDL.
Upgrade to dronecan >=1.0.18 and ensure python-can is up-to-date.
Use `dronecan.driver.slcan.Serial` instead of `dronecan.driver.slcan`.
Run `dronecan_dsdlc <path-to-dsdl-dir>` to compile DroneCAN DSDL definitions first.
Upgrade dronecan to >=1.0.0 with `pip install --upgrade dronecan`.