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

成都双语网站开发wordpress 微信分享h5

成都双语网站开发,wordpress 微信分享h5,工业物联网平台,张家界seo优化Ubuntu22.04上源码构建ROS noetic 起因准备环境创建工作目录并下载源码安装编译依赖包安装ros_comm和rosconsole包的两个补丁并修改pluginlib包的CMakeLists的编译器版本编译安装ROS noetic和ros_test验证 起因 最近在研究VINS-Mono从ROS移植到ROS2#xff0c;发现在编写feat… Ubuntu22.04上源码构建ROS noetic 起因准备环境创建工作目录并下载源码安装编译依赖包安装ros_comm和rosconsole包的两个补丁并修改pluginlib包的CMakeLists的编译器版本编译安装ROS noetic和ros_test验证 起因 最近在研究VINS-Mono从ROS移植到ROS2发现在编写feature_tracker的CMakeList.txt后会出现找不到包含文件的问题于是向先用ROS把VINS编译跑一下看看便有了在Ubuntu 22.04虚拟机上再构建一个ROS的环境的想法本来是想按照官网一步一步做就行了然而到ROS的官方下载地址发现没有Ubuntu 22.04jammy版本和对应的Debian 12Bookworm的仓库。 所以按照ros官网安装步骤在sudo apt update 这一步就止步了原因就是Ros Noetic主要针对Ubuntu 20.04并且不正式支持任何更新的发布了。 所以通过Google找到一个源码安装的方法亲自验证后在此分享给大家。 准备环境 安装docker安装python3安装pip3安装git下载ROS Noetic基础包源码此次可能需要借助梯子 创建工作目录并下载源码 mkdir -p ~/ros_noetic_base_2204/catkin_ws/src在src目录下执行脚本下载ROS 包 #!/bin/bash git clone https://github.com/ros/actionlib.git -b 1.14.0 git clone https://github.com/ros/bond_core.git -b 1.8.6 git clone https://github.com/ros/catkin.git -b 0.8.10 git clone https://github.com/ros/class_loader.git -b 0.5.0 git clone https://github.com/ros/cmake_modules.git -b 0.5.0 git clone https://github.com/ros/common_msgs.git -b 1.13.1 git clone https://github.com/ros/dynamic_reconfigure.git -b 1.7.3 git clone https://github.com/ros/gencpp.git -b 0.7.0 git clone https://github.com/jsk-ros-pkg/geneus.git -b 3.0.0 git clone https://github.com/ros/genlisp.git -b 0.4.18 git clone https://github.com/ros/genmsg.git -b 0.6.0 git clone https://github.com/RethinkRobotics-opensource/gennodejs.git -b 2.0.1 git clone https://github.com/ros/genpy.git -b 0.6.16 git clone https://github.com/ros/message_generation.git -b 0.4.1 git clone https://github.com/ros/message_runtime.git -b 0.4.13 git clone https://github.com/ros/nodelet_core.git -b 1.10.2 git clone https://github.com/ros/pluginlib.git -b 1.13.0 git clone https://github.com/ros/ros.git -b 1.15.8 git clone https://github.com/ros/ros_comm.git -b 1.16.0 git clone https://github.com/ros/ros_comm_msgs.git -b 1.11.3 git clone https://github.com/ros/ros_environment.git -b 1.3.2 git clone https://github.com/ros/rosbag_migration_rule.git -b 1.0.1 git clone https://github.com/ros/rosbag_migration_rule.git -b 1.0.1 git clone https://github.com/ros/rosconsole.git -b 1.14.3 git clone https://github.com/ros/rosconsole_bridge.git -b 0.5.4 git clone https://github.com/ros/roscpp_core.git -b 0.7.2 git clone https://github.com/ros/roslisp.git -b 1.9.25 git clone https://github.com/ros/rospack.git -b 2.6.2 git clone https://github.com/ros/std_msgs.git -b 0.5.13 git clone https://github.com/ros/angles.git git clone https://github.com/ros/geometry.git 返回到ros_noetic_base_2204目录下载catkin_pkg和rospkg源码 git clone https://github.com/ros-infrastructure/catkin_pkg.git -b 0.5.2 git clone https://github.com/ros-infrastructure/rospkg.git -b 1.5.0最后目录结构如下 安装编译依赖包 sudo apt install -y cmake build-essential libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options-dev libconsole-bridge-dev libpoco-dev libtinyxml2-dev liblz4-dev libbz2-dev uuid-dev liblog4cxx-dev libgpgme-dev libgtest-dev python3-setuptools python3-nose python3-pycryptodome python3-defusedxml python3-mock python3-netifaces python3-gnupg python3-numpy python3-psutil安装ros_comm和rosconsole包的两个补丁并修改pluginlib包的CMakeLists的编译器版本 在~/ros_noetic_base_2204/catkin_ws/src/ros_comm目录下新建一个ros_comm.patch的文件将ros_comm的补丁包的内容拷贝到该文件里如果用wget直接下载该文件需要在最后一行末尾加个回车否则会报错error: corrupt patch at line 22。 在该目录下执行git apply --ignore-whitespace ros_comm.patch 更新ros_comm包。在~/ros_noetic_base_2204/catkin_ws/src/rosconsole目录下用同样的方法将rosconsole.patch内容写到该目录的文件里在该目录下执行git apply --ignore-whitespace rosconsole.patch 更新rosconsole.patch包。把pluginlib的CMakeList.txt文件中${PROJECT_NAME}_unique_ptr_test的C编译器版本11改为17。 diff --git a/pluginlib/CMakeLists.txt b/pluginlib/CMakeLists.txt index 289c5af..1776c02 100644 --- a/pluginlib/CMakeLists.txtb/pluginlib/CMakeLists.txt-24,12 24,12 if(CATKIN_ENABLE_TESTING)endif()include(CheckCXXCompilerFlag) - check_cxx_compiler_flag(-stdc11 COMPILER_SUPPORTS_CXX11) - if(COMPILER_SUPPORTS_CXX11)check_cxx_compiler_flag(-stdc17 COMPILER_SUPPORTS_CXX17)if(COMPILER_SUPPORTS_CXX17)catkin_add_gtest(${PROJECT_NAME}_unique_ptr_test test/unique_ptr_test.cpp)if(TARGET ${PROJECT_NAME}_unique_ptr_test)target_link_libraries(${PROJECT_NAME}_unique_ptr_test ${TinyXML2_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES}) - set_target_properties(${PROJECT_NAME}_unique_ptr_test PROPERTIES COMPILE_FLAGS -stdc11 LINK_FLAGS -stdc11)set_target_properties(${PROJECT_NAME}_unique_ptr_test PROPERTIES COMPILE_FLAGS -stdc17 LINK_FLAGS -stdc17)add_dependencies(${PROJECT_NAME}_unique_ptr_test test_plugins)endif()endif()编译安装ROS noetic和ros_test cd ~/ros_noetic_base_2204/catkin_pkg python3 setup.py install cd ~/ros_noetic_base_2204/rospkg python3 setup.py install cd ~/ros_noetic_base_2204/catkin_ws ./src/catkin/bin/catkin_make install \-DCMAKE_BUILD_TYPERelease \-DPYTHON_EXECUTABLE/usr/bin/python3./src/catkin/bin/catkin_make install \-DCMAKE_BUILD_TYPERelease \-DPYTHON_EXECUTABLE/usr/bin/python3 \run_tests验证 重新打开一个终端输入如下命令验证。 source ~/ros_noetic_base_2204/catkin_ws/devel/setup.bash roscore参考 Building ROS Noetic on Ubuntu 22.04
http://www.w-s-a.com/news/143231/

相关文章:

  • 建设一个类似淘宝的网站律师做推广宣传的网站
  • 东阳网站建设方案网站建设asp
  • 模板网站建设一条龙平面设计师招聘信息
  • 制作一个网站流程企业建设网站的母的
  • 九州建网站网页游戏平台代理
  • 培训课程网站网上下载的网站模板怎么用
  • 重庆山艺网站建设塘厦理工学校
  • 做网站的人叫什么软件玩具网站设计
  • 网站说服力营销型网站策划 pdf深圳有什么公司名称
  • 做物流的可以在那些网站找客户男生晚上正能量你懂我意思
  • 宁德市城乡住房建设厅网站教育机构logo
  • 做定制网站价格有网站了怎么做app
  • 做网站和制作网页的区别北京朝阳区最好的小区
  • 网站策划 ppt北京装修公司排名推荐
  • 郑州网站建设公司哪家专业好如何注册一家公司
  • 证券投资网站做哪些内容滨州论坛网站建设
  • 重庆网站建设公司模板广东佛山
  • 中展建设股份有限公司网站做网站备案是什么意思
  • 石家庄网站建设接单wordpress功能小工具
  • 有没有专门做网站的网站镜像上传到域名空间
  • 网站建设中 windows买域名自己做网站
  • 设计英语宁波seo做排名
  • 奉贤网站建设上海站霸深圳几个区
  • c#做网站自已建网站
  • 成都地区网站建设网站设计类型
  • 如何做网站结构优化北京响应式网站
  • 出售源码的网站威海住房建设局网站
  • 网站建设补充报价单网站建设 技术指标
  • 做网站费用分摊入什么科目做网络网站需要三证么
  • 房屋备案查询系统官网杭州排名优化软件