当前位置: 首页 > news >正文

微信 网站设计模板如何自学网站建设书籍

微信 网站设计模板,如何自学网站建设书籍,手机模板的网站,建设网站的费用入什么科目文章目录前言下载编译过程创建开发环境拉取源代码更新rosdep下载安装moveit 2依赖包编译源码输出结果总结前言 本文用来记录moveit 2从源码编译的全流程。 本机环境: 系统:debian 11 ros版本:ros2 humble 处理器:intel i7 内存&a…

文章目录

  • 前言
  • 下载编译过程
    • 创建开发环境
    • 拉取源代码
    • 更新rosdep
    • 下载安装moveit 2依赖包
    • 编译源码
    • 输出结果
  • 总结

前言

本文用来记录moveit 2从源码编译的全流程。
本机环境:
系统:debian 11
ros版本:ros2 humble
处理器:intel i7
内存:16g

下载编译过程

创建开发环境

$ cd ~
$ mkdir workspace

拉取源代码

方法1:博主导入了本地源会快一些

$ cd ~/workspace
$ git clone https://gitee.com/lilinxin75/moveit2.git -b humble --depth=1
$ mkdir deps
$ cd deps
$ git clone https://gitee.com/lilinxin75/moveit_msgs.git -b humble --depth=1
$ git clone https://gitee.com/lilinxin75/moveit_resources.git -b humble --depth=1
$ git clone https://gitee.com/lilinxin75/ros2_control.git -b humble --depth=1
$ git clone https://gitee.com/lilinxin75/control_msgs.git -b humble --depth=1
$ git clone https://gitee.com/lilinxin75/realtime_tools.git --depth=1
$ git clone https://gitee.com/lilinxin75/object_recognition_msgs.git -b ros2 --depth=1

方法二:使用官方源

$ cd ~/workspace
$ git clone https://github.com/ros-planning/moveit2.git -b $ROS_DISTRO --depth=1
$ mkdir deps
$ cd deps
$ git clone https://github.com/ros-planning/moveit_msgs.git -b humble --depth=1
$ git clone https://github.com/ros-planning/moveit_resources.git -b humble --depth=1
$ git clone https://github.com/ros-controls/ros2_control.git -b humble --depth=1
$ git clone https://github.com/ros-controls/control_msgs.git -b humble --depth=1
$ git clone https://github.com/ros-controls/realtime_tools.git --depth=1
$ git clone https://github.com/wg-perception/object_recognition_msgs.git -b ros2 --depth=1

更新rosdep

$ rosdep init
$ rosdep update

rosdep update出错解决办法,下载文件替换法——No such file or directory: ‘/etc/ros/rosdistro/master/index-v4.yaml

下载安装moveit 2依赖包

$ rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y# result
# $ rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y# All required rosdeps installed successfully

编译源码

# --parallel-workers 2 意思是限制同时编译项目为2个,默认值为cpu核数,不设置该值会占用大量内存
$ colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --parallel-workers 2

关于colcon构建参数可以参照下边的链接:
ROS2构建工具colcon介绍

输出结果

$ colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --parallel-workers 2
Starting >>> object_recognition_msgs     
Starting >>> moveit_common...Starting >>> moveit_setup_core_plugins     
Starting >>> moveit_setup_srdf_plugins                                                                                                                                           
Finished <<< moveit_runtime [0.30s]                                                                                                                                              
Finished <<< moveit_setup_core_plugins [0.57s]                                                                                                                                   
Finished <<< moveit_setup_app_plugins [0.65s]                                                                                                                              
Finished <<< moveit_setup_controllers [0.80s]                                                                                                                                    
Finished <<< moveit_setup_srdf_plugins [0.79s]                                                                                                                                   
Starting >>> moveit_setup_assistant                                                                                                                                              
Finished <<< moveit_setup_assistant [0.35s]                                                                                                                                      
Starting >>> moveit                                                                                                                                                              
Finished <<< moveit [0.19s]                                                                                                                                                      Summary: 58 packages finished [13.6s]      4 packages had stderr output: controller_manager moveit_configs_utils ros2controlcli rqt_controller_manager  

总结

在整体编译过程中也遇到了不少的坑,在本文做简单记录。
后续会逐步整理如何调用Moveit2做一些特定功能的开发。

http://www.yayakq.cn/news/71948/

相关文章:

  • 长沙建站智能模板电商网站对比 京东商城 淘宝网 阿里巴巴
  • 备案期间网站能打开吗石家庄新闻发布会直播
  • 谷歌的英文网站thinkphp网站优化
  • 网站售后服务内容做任务游戏能赚钱的网站
  • 移动局域网ip做网站最新网站域名ip地址查询
  • 氧os哪个网站做的最好灵当crm客户管理系统
  • 社交网站开发教程河南省建设厅资质公示
  • 设置网站的默认文档做个app软件多少钱
  • 怎样在在农行网站上做风险评估上海公司有哪些
  • 做网站应该拿多少提成上海微网站建设
  • 搞网站建设赚钱不国外网站 工信部备案
  • 做简单手机网站多少钱呀ios开发者网站
  • 网站建设套运营哪里学的比较专业
  • 网站开发哪里有培训网站改版准备
  • 站长之家whois哪些网站做渣土车租恁
  • 北京建站优化免费网络电话软件哪个好用
  • 企业做网站 乐云seo中国铁建统一企业门户
  • 深圳做英文网站可以做女的游戏视频网站
  • 医疗保险网站开通建设广安网站建设gphvip
  • 一流的盐城网站开发外贸发货做网站怎么写
  • 用哪个软件做网站12388网站建设管理情况
  • 域客士营销型单页网站程网络营销的主要推广方式
  • 太原网站推广教程目前网络营销的主要方式
  • 网站推广 经典案例海南网站备案
  • 最好的扁平化网站wordpress导购
  • 广州 营销型网站建设塑胶包装东莞网站建设
  • 音乐自助建站太原seo
  • 青岛网站优化快速排名代理记账公司收费标准
  • 中企动力做网站多少钱网站开发图标下载
  • 有做网站需求的客户seo怎么收费的