$ git clone https://github.com/ArduPilot/ardupilot
$ git submodule update --init --recursive
$ git checkout Copter-4.0.3
ArduCopter$ ../Tools/autotest/sim_vehicle.py --map --console --out=udp:0.0.0.0:14560 -v ArduCopter
export PATH=$PATH:/usr/local/cuda-10.0/bin:/home/zhangym/Desktop/ardupilot/Tools/autotest:/home/zhangym/Desktop/ardupilot/gcc-arm-none-eabi-6-2017-q2-update/bin

本文详细介绍如何使用Git从ArduPilot仓库克隆ArduCopter项目,更新子模块,并切换到指定版本。通过运行Python脚本进行无人机模拟飞行,设置UDP端口输出,同时配置环境变量以确保所有必要路径正确无误。
7558

被折叠的 条评论
为什么被折叠?



