当前位置:网站首页>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 :
边栏推荐
- 【TcaplusDB知识库】TcaplusDB单据受理-创建业务介绍
- PWM output experiment based on stm32f103zet6 library function
- Jar包后台启动并输出日志
- SD6.22集训总结
- MySQL - clear data in the table
- Codeworks 5 questions per day (1700 for each) - the next day
- My first experience of remote office | community essay solicitation
- PostgreSQL database system table
- If the evaluation conclusion of waiting insurance is poor, does it mean that waiting insurance has been done in vain?
- Serial port experiment based on stm32f103zet6 library function
猜你喜欢

Adobe Premiere Basics - common video effects (cropping, black and white, clip speed, mirroring, lens halo) (XV)

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

Adobe Premiere foundation - opacity (mixed mode) (XII)

Servlet student management system (Mengxin hands-on version)
![[how the network is connected] Chapter 3 explores hubs, switches and routers](/img/a9/39f7c474331b7de0bdaf6e59f0d15b.png)
[how the network is connected] Chapter 3 explores hubs, switches and routers

软件测试——基础理论知识你都不一定看得懂
![[target tracking] |stark configuration win OTB](/img/29/a6b3b99b7d2349499aede9e76ab29a.png)
[target tracking] |stark configuration win OTB

MySQL -connector/j driver download

国内酒店交易DDD应用与实践——理论篇

Niuke Xiaobai monthly race 52 E group logarithmic sum (inclusion exclusion theorem + dichotomy)
随机推荐
DevCloud加持下的青软,让教育“智”上云端
6.29 simulation summary
Request header field XXXX is not allowed by access control allow headers in preflight response
Sd6.22 summary of intensive training
Workflow module jar package startup error: liquibase – waiting for changelog lock
EasyCVR部署服务器集群时,出现一台在线一台不在线是什么原因?
Goldfish rhca memoirs: do447 building advanced job workflow -- using fact cache to improve performance
js两个二维数组合并并去除相同项(整理)
Find the maximum XOR value in the sequence given a number (01 Dictionary)
工作流模块Jar包启动报错:liquibase – Waiting for changelog lock….
If the evaluation conclusion of waiting insurance is poor, does it mean that waiting insurance has been done in vain?
Serial port experiment based on stm32f103zet6 library function
markdown知识轻轻来袭
Image feature computation and representation -- content based image retrieval
Adobe Premiere基础-常用的视频特效(边角定位,马赛克,模糊,锐化,手写工具,效果控件层级顺序)(十六)
MySql存储过程循环的使用分析详解
优雅书写Controller(参数验证+统一异常处理)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - transaction execution introduction
MySQL - clear data in the table
jdbc_相關代碼