ardupilot_gazebo编译
git clone https://github.com/SwiftGust/ardupilot_gazebo
cd ardupilot_gazebo
mkdir build
cd build/
这一步应该有问题
cmake ..
make -j4
sudo gedit ~/.bashrc
添加如下内容
source /usr/share/gazebo/setup.sh
export GAZEBO_MODEL_PATH=~/ardupilot_gazebo/models:${GAZEBO_MODEL_PATH}
export GAZEBO_MODEL_PATH=~/ardupilot_gazebo/models_gazebo:${GAZEBO_MODEL_PATH}
export GAZEBO_RESOURCE_PATH=~/ardupilot_gazebo/worlds:${GAZEBO_RESOURCE_PATH}
进入仿真,提示等待心跳,无法控制
sim_vehicle.py -v APMrover2 -f gazebo-rover -m --mav10 --map --console -I1
MAVProxy编译
git clone https://github.com/ArduPilot/MAVProxy.git
cd MAVProxy
python setup.py build
出错
python setup.py install
"mavproxy.py" "--master" "tcp:127.0.0.1:5770" "--sitl" "127.0.0.1:5501" "--out" "127.0.0.1:14550" "--out" "127.0.0.1:14551"