# dronecan_dsdlc **Repository Path**: dronecan/dronecan_dsdlc ## Basic Information - **Project Name**: dronecan_dsdlc - **Description**: No description available - **Primary Language**: Unknown - **License**: LGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-28 - **Last Updated**: 2024-08-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DroneCAN DSDL Code Generator This project contains tools to generate C code for packing DroneCAN messages. ## Dependencies * `pip install empy==3.3.4` * `pip install pexpect` ## How To Use To generate C code please ensure that you have https://github.com/dronecan/pydronecan https://github.com/dronecan/DSDL https://github.com/dronecan/libcanard cloned alongside this project. Then run the following command: ``` python dronecan_dsdlc/dronecan_dsdlc.py -O # e.g. python dronecan_dsdlc/dronecan_dsdlc.py -O dsdlc_generated libraries/AP_UAVCAN/dsdl/ardupilot DSDL/uavcan ``` To run the test simply execute the following command ``` python dronecan_dsdlc/dronecan_dsdlc.py -O --run-test ```