文章

ArduPilot 笔记

1. ArduPilot SITL 编译

1
2
3
4
5
6
# 编译及开发环境准备
./Tools/environment_install/install-prereqs-ubuntu.sh -y

./waf configure --board sitl
./waf plane    # ArduPlane
# 生成 build/sitl/bin/arduplane

1.1. 初步运行

使用自定义python脚本运行 SITLgithub – ap-swarm-launcher

1
2
# 启动两个 ArduPlane SITL 实例,设置数据目录为 ~/tmp/arduplane
uv run ap-sitl-swarm --model plane -n 2 --data-dir ~/tmp/arduplane --no-multicast --tcp-base-port 5760 --home 31.8269,117.2280,30 ~/tmp/arduplane/arduplane

更多资料:

本文由作者按照 CC BY 4.0 进行授权