当前位置:网站首页>Source code installation mavros
Source code installation mavros
2022-06-29 18:22:00 【Mbot】
ROS melodic
ubuntu 18.04
Reference resources :https://docs.px4.io/master/en/ros/mavros_installation.html
First check home Is there any .catkin_tools Folder , If there is , Just delete , No, the following errors will be reported when compiling :
[build] Error: Unable to find source space
/home/amov/src
Then create a new workspace , You can choose your own name
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
catkin init
wstool init src
install ROS Python Tools
sudo apt-get install python-catkin-tools python-rosinstall-generator -y
Initialize the source space
wstool init ~/catkin_ws/src
Be careful , The following operations are catkin_ws Execute under directory
Execute the following statement to install mavlink
rosinstall_generator --rosdistro melodic mavlink | tee /tmp/mavros.rosinstall
The success is as follows :
Execute one of the following two statements to install mavros
Stable version mavros
rosinstall_generator --upstream mavros | tee -a /tmp/mavros.rosinstall
The latest version mavros
rosinstall_generator --upstream-development mavros | tee -a /tmp/mavros.rosinstall
The success is as follows :
perform
wstool merge -t src /tmp/mavros.rosinstall
Input during execution y, The success is as follows :
Execute the following statement to download the source code
wstool update -t src -j4
The success is as follows :
perform
rosdep install --from-paths src --ignore-src -y
The success is as follows :
perform
sudo ./src/mavros/mavros/scripts/install_geographiclib_datasets.sh
The success is as follows :
perform
catkin build
The success is as follows :
Finally, execute
source devel/setup.bash
roscd mavros
If installed mavros If the installation is successful , It is shown as follows :
边栏推荐
- Lodash deep copy usage
- JS merge two 2D arrays and remove the same items (collation)
- JDBC Codes connexes
- Let Google search your blog
- /usr/bin/ld: warning: **libmysqlclient. so. 20**, needed by //usr/
- Adobe Premiere foundation - cool text flash (14)
- Adobe Premiere基礎-聲音調整(音量矯正,降噪,電話音,音高換擋器,參數均衡器)(十八)
- Configure the local domain name through the hosts file
- Proxmox VE Install 7.2
- You can do sideline work
猜你喜欢

通过 hosts文件配置本地域名

Adobe Premiere基础-时间重映射(十)

Yolov6+tensorrt+onnx: deployment based on win10+tensorrt8+yolov6+onnx

关于微服务

Proxmox VE Install 7.2

ABC253 D FizzBuzz Sum Hard(容斥定理)

让 Google 搜索到自己的博客

Adobe Premiere Basics - general operations for editing material files (offline files, replacing materials, material labels and grouping, material enabling, convenient adjustment of opacity, project pa
MySql存储过程循环的使用分析详解

Servlet学生管理系统(萌新练手版)
随机推荐
Adobe Premiere Foundation - réglage du son (correction du volume, réduction du bruit, tonalité téléphonique, changement de hauteur, égaliseur de paramètres) (XVIII)
When easycvr deploys a server cluster, what is the reason why one is online and the other is offline?
Error building sqlsession problem
回文子串的最大长度(字符串哈希+二分)
[wangdingbei 2020 Qinglong formation]areuserialz
3H proficient in opencv (V) - perspective transformation
mysql -connector/j驱动下载
Sd6.22 summary of intensive training
js两个二维数组合并并去除相同项(整理)
codeforces每日5题(均1700)-第二天
How to use idea?
POJ 1975 (transitive closure)
MySQL - clear data in the table
Adobe Premiere基础-编辑素材文件常规操作(脱机文件,替换素材,素材标签和编组,素材启用,便捷调节不透明度,项目打包)(十七)
Adobe Premiere foundation - material nesting (animation of Tiktok ending avatar) (IX)
Lodash deep copy usage
Servlet student management system (Mengxin hands-on version)
How do I add SmartArt to slides in PowerPoint?
Stepping on the pit: json Parse and json stringify
字典树(随学)