2 Star 2 Fork 2

科技ing/pymavlink

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test_generator.sh 931 Bytes
一键复制 编辑 原始数据 按行查看 历史
Andrew Tridgell 提交于 2018-07-27 15:08 . added test_generator.sh to travis
#!/bin/bash
# This requires the python future library
# On MS windows, cygwin usually does not provide that.
# The workaround is then to issue on a cygwin prompt:
# easy_install-2.7 pip
# pip install future
set -e
set -x
test -z "$MDEF" && MDEF="../message_definitions"
# MAVLINK_DIALECT=ardupilotmega python setup.py clean build install --user
mavgen.py --lang C $MDEF/v1.0/ardupilotmega.xml -o generator/C/include_v1.0 --wire-protocol=1.0
mavgen.py --lang C $MDEF/v1.0/ardupilotmega.xml -o generator/C/include_v2.0 --wire-protocol=2.0
mavgen.py --lang C++11 $MDEF/v1.0/ardupilotmega.xml -o generator/CPP11/include_v2.0 --wire-protocol=2.0
pushd generator/C/test/posix
make clean testmav1.0_common testmav2.0_common testmav1.0_ardupilotmega testmav2.0_ardupilotmega
./testmav1.0_common
./testmav2.0_common
./testmav1.0_ardupilotmega
./testmav2.0_ardupilotmega
popd
pushd generator/CPP11/test/posix
make clean all
popd
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kejiing/pymavlink.git
git@gitee.com:kejiing/pymavlink.git
kejiing
pymavlink
pymavlink
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385