1 Star 0 Fork 0

Codef / dronecan_dsdlc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 779 Bytes
一键复制 编辑 原始数据 按行查看 历史

DroneCAN DSDL Code Generator

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

Dependencies

  • 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
1
https://gitee.com/feitaorobo/dronecan_dsdlc.git
git@gitee.com:feitaorobo/dronecan_dsdlc.git
feitaorobo
dronecan_dsdlc
dronecan_dsdlc
master

搜索帮助