目录
(0)介绍
(1)安装mavrossudo apt-get install ros-noetic-mavros ros-noetic-mavros-extras sudo apt-get install ros-melodic-mavros ros-melodic-mavros-extras (2)安装GeographicLib(官网方法,报错了就用下一个我用的方法)官网给的安装方法,给了一个脚本,运行脚本下载: wget https://raw./mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh ./install_geographiclib_datasets.sh (2)安装GeographicLib(我用的)
我下载的放在github里了,需要的clone一下。时间:2022.8.8 git clone https://github./https://github.com/wyfroom/mavros-GeographicLib.git
(3)测试USB插上飞控,打开终端,检查是否识别到飞控,输入命令 ll /dev/ttyACM* 检测到后,添加权限,否则无法启动 sudo chmod 777 /dev/ttyACM0 启动节点 roslaunch mavros px4.launch _fcu_url:=/dev/ttyACM0:57600 |
|