当前位置:网站首页>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 :
边栏推荐
- [wangdingbei 2020 Qinglong formation]areuserialz
- Premature end of script headers 或 End of script output before headers
- Encryption and decryption of 535 tinyurl
- Niuke Xiaobai monthly race 52 E group logarithmic sum (inclusion exclusion theorem + dichotomy)
- My first experience of remote office | community essay solicitation
- Servlet student management system (Mengxin hands-on version)
- Workflow module jar package startup error: liquibase – waiting for changelog lock
- 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
- C comparison of the performance of dapper efcore sqlsugar FreeSQL hisql sqlserver, an ORM framework at home and abroad
- If the evaluation conclusion of waiting insurance is poor, does it mean that waiting insurance has been done in vain?
猜你喜欢
Detailed analysis on the use of MySQL stored procedure loop
![[target tracking] |stark configuration win OTB](/img/29/a6b3b99b7d2349499aede9e76ab29a.png)
[target tracking] |stark configuration win OTB

Niuke small Bai monthly race 52 D ring insectivorous (feet +st table)

js两个二维数组合并并去除相同项(整理)

JS merge two 2D arrays and remove the same items (collation)

Adobe Premiere foundation - sound adjustment (volume correction, noise reduction, telephone tone, pitch shifter, parameter equalizer) (XVIII)

Adobe Premiere foundation - material nesting (animation of Tiktok ending avatar) (IX)

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

Adobe Premiere Basics - common video effects (corner positioning, mosaic, blur, sharpen, handwriting tools, effect control hierarchy) (16)

让 Google 搜索到自己的博客
随机推荐
MySQL -connector/j driver download
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)
关于微服务
Function independent watchdog (iwdg) experiment based on stm32f103zet6 Library
JDBC Codes connexes
Proxmox VE Install 7.2
shell教程之循环语句for,while,until用法
小白月赛51 补题 E G F
Servlet学生管理系统(萌新练手版)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - table creation approval introduction
通过 hosts文件配置本地域名
How do I add SmartArt to slides in PowerPoint?
【TcaplusDB知识库】TcaplusDB单据受理-事务执行介绍
markdown知识轻轻来袭
3h精通OpenCV(五)-透视变换
When easycvr deploys a server cluster, what is the reason why one is online and the other is offline?
Sd6.25 summary of intensive training
Maxcompute string replacement function -replace
3H proficient in opencv (VI) - image stacking
Niuke Xiaobai monthly race 52 E group logarithmic sum (inclusion exclusion theorem + dichotomy)