Skip to content

dronecan/dronecan_dsdlc

Repository files navigation

DroneCAN DSDL Code Generator

This project contains tools to generate C code for packing DroneCAN messages.

Dependencies

pip install -r requirements.txt

or

  • pip install empy
  • 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 <output directory> <list of namespace dirs>
# 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 <output directory> <list of namespace dirs> --run-test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy