当前位置:网站首页>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 :
边栏推荐
- Proxmox VE Install 7.2
- Adobe Premiere基础-常用的视频特效(裁剪,黑白,剪辑速度,镜像,镜头光晕)(十五)
- [tcapulusdb knowledge base] tcapulusdb doc acceptance - transaction execution introduction
- WBF:检测任务NMS后虑框新方式?
- 最长异或路径(dfs+01trie)
- How QQ opens online customer service
- 金鱼哥RHCA回忆录:DO447构建高级作业工作流--使用事实缓存提高性能
- SD6.25集训总结
- Configure the local domain name through the hosts file
- Abc253 D fizzbuzz sum hard (tolerance exclusion theorem)
猜你喜欢

Software testing - you may not understand the basic theoretical knowledge

牛客小Bai月赛52 D 环上食虫(尺取+st表)

QQ如何开通在线客服

jdbc_相關代碼

小迈科技 X Hologres:高可用的百亿级广告实时数仓建设

JWT login authentication

kubekey2.2.1 kubernetes1.23.7离线包制作+harbor部暑并上传镜像

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

jdbc认识上手

Adobe Premiere foundation - batch material import sequence - variable speed and rewind (recall) - continuous action shot switching - subtitle requirements (13)
随机推荐
/usr/bin/ld: warning: **libmysqlclient.so.20**, needed by //usr/
MySql存储过程循环的使用分析详解
shell教程之循环语句for,while,until用法
Weibo comments on high-performance and high availability architecture design (module 5 of architecture practice camp)
Adobe Premiere基础-声音调整(音量矫正,降噪,电话音,音高换挡器,参数均衡器)(十八)
DevCloud加持下的青软,让教育“智”上云端
Longest XOR path (dfs+01trie)
Adobe Premiere foundation - opacity (matte) (11)
【TcaplusDB知识库】TcaplusDB单据受理-创建业务介绍
Record that the server has been invaded by viruses: the SSH password has been changed, the login fails, the malicious program runs full of CPU, the jar package fails to start automatically, and you ha
优雅书写Controller(参数验证+统一异常处理)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction
JWT login authentication
Jar包后台启动并输出日志
Sister Juan takes you to learn database -- 5-day sprint Day1
Adobe Premiere基础-批量素材导入序列-变速和倒放(回忆)-连续动作镜头切换-字幕要求(十三)
PWM output experiment based on stm32f103zet6 library function
踩坑记:JSON.parse和JSON.stringify
Spingmvc requests and responses
Adobe Premiere Basics - common video effects (corner positioning, mosaic, blur, sharpen, handwriting tools, effect control hierarchy) (16)