ubuntu 설치mavros와mavlink

1373 단어 mavros
mavros 만들기install.sh 스크립트, 내용을 복사합니다:
#!/bin/bash # MAVROS: https://dev.px4.io/en/ros/mavros_installation.html ## Create catkin workspace mkdir -p ~/catkin_mav/src cd ~/catkin_mav
## Install dependencies sudo apt-get install python-wstool python-rosinstall-generator python-catkin-tools -y
## Initialise wstool wstool init ~/catkin_mav/src
## Build MAVROS ### Get source (upstream - released) rosinstall_generator --upstream mavros | tee/tmp/mavros.rosinstall ### Get latest released mavlink package rosinstall_generator mavlink | tee -a/tmp/mavros.rosinstall ### Setup workspace & install deps wstool merge -t src/tmp/mavros.rosinstall wstool update -t src rosdep install --from-paths src --ignore-src --rosdistro kinetic -y
./src/mavros/mavros/scripts/install_geographiclib_datasets.sh ## Build! catkin build ## Re-source environment to reflect new packages/build environment echo "source ~/catkin_mav/devel/setup.bash">> ~/.bashrc source ~/.bashrc
sudo apt-get install ros-kinetic-rqt ros-kinetic-rqt-common-plugins ros-kinetic-rqt-robot-plugins -y
 
그런 다음 souurce mavros 를 실행합니다.install.sh
설치하는 동안 다음 오류가 발생하면 다음을 수행합니다.
Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml)>
: 151.101.76.133 raw.githubusercontent.com /etc/hosts ,

좋은 웹페이지 즐겨찾기