安装和使用系统环境如下

支持Ubuntu+Windows等:

其实现在Ubuntu+Windows一家亲,如下,♥。

DDS依据项目需要安装合适版本。

基本上啥都支持,何止ubuntu,移动端很多APP都直接用。

回归主题!ROS2 Humble基础


环境:

Ubuntu source /opt/ros/humble/setup.bash

Windows  call C:\dev\ros2\local_setup.bat

显示环境变量:

U:printenv | grep -i ROS

W:set | findstr -i ROS

设置 ROS_DOMAIN_ID 网络相关 

U: export ROS_DOMAIN_ID=<your_domain_id>

W: set ROS_DOMAIN_ID=<your_domain_id>

使用前需要正确配置ROS 2开发环境。 这可以通过两种方式完成:在打开的每个新 shell 中获取设置文件,或者将 source 命令添加到启动脚本中。

如果在定位或使用 ROS 2 软件包时遇到任何问题,应该做的第一件事是检查环境变量并确保它们设置为想要的版本和发行版。


turtlesim


如上是ROS2吉祥物全集

ros2 pkg executables turtlesim

重命名

ros2 run turtlesim turtle_teleop_key --ros-args --remap turtle1/cmd_vel:=turtle2/cmd_vel

图形化工具rqt

sudo apt install ros-humble-rqt-robot-*

安装包日期220520

Setting up ros-humble-rqt-robot-monitor (1.0.5-2jammy.20220520.023300) ...
Setting up ros-humble-rqt-robot-steering (1.0.0-4jammy.20220520.023302) ...
Setting up ros-humble-rqt-robot-dashboard (0.6.1-3jammy.20220520.023534) ...

zhangrelay@LAPTOP-5REQ7K1L:~$ ros2 run rqt_robot_steering rqt_robot_steering
qt_gui_main() found no plugin matching "rqt_robot_steering.robot_steering.RobotSteering"
try passing the option "--force-discover"
[ros2run]: Process exited with failure 1
zhangrelay@LAPTOP-5REQ7K1L:~$ ros2 run rqt_robot_steering rqt_robot_steering  --force-discover


核心功能包,源码地址如下,需要切换为humble:

repositories:ament/ament_cmake:type: giturl: https://github.com/ament/ament_cmake.gitversion: masterament/ament_index:type: giturl: https://github.com/ament/ament_index.gitversion: masterament/ament_lint:type: giturl: https://github.com/ament/ament_lint.gitversion: masterament/ament_package:type: giturl: https://github.com/ament/ament_package.gitversion: masterament/google_benchmark_vendor:type: giturl: https://github.com/ament/google_benchmark_vendor.gitversion: mainament/googletest:type: giturl: https://github.com/ament/googletest.gitversion: ros2ament/uncrustify_vendor:type: giturl: https://github.com/ament/uncrustify_vendor.gitversion: mastereProsima/Fast-CDR:type: giturl: https://github.com/eProsima/Fast-CDR.gitversion: mastereProsima/Fast-DDS:type: giturl: https://github.com/eProsima/Fast-DDS.gitversion: mastereProsima/foonathan_memory_vendor:type: giturl: https://github.com/eProsima/foonathan_memory_vendor.gitversion: mastereclipse-cyclonedds/cyclonedds:type: giturl: https://github.com/eclipse-cyclonedds/cyclonedds.gitversion: releases/0.9.xeclipse-iceoryx/iceoryx:type: giturl: https://github.com/eclipse-iceoryx/iceoryx.gitversion: release_2.0ignition/ignition_cmake2_vendor:type: giturl: https://github.com/ignition-release/ignition_cmake2_vendor.gitversion: mainignition/ignition_math6_vendor:type: giturl: https://github.com/ignition-release/ignition_math6_vendor.gitversion: mainosrf/osrf_pycommon:type: giturl: https://github.com/osrf/osrf_pycommon.gitversion: masterosrf/osrf_testing_tools_cpp:type: giturl: https://github.com/osrf/osrf_testing_tools_cpp.gitversion: masterros-perception/image_common:type: giturl: https://github.com/ros-perception/image_common.gitversion: ros2ros-perception/laser_geometry:type: giturl: https://github.com/ros-perception/laser_geometry.gitversion: ros2ros-planning/navigation_msgs:type: giturl: https://github.com/ros-planning/navigation_msgs.gitversion: ros2ros-tooling/keyboard_handler:type: giturl: https://github.com/ros-tooling/keyboard_handler.gitversion: mainros-tooling/libstatistics_collector:type: giturl: https://github.com/ros-tooling/libstatistics_collector.gitversion: masterros-tracing/ros2_tracing:type: giturl: https://gitlab.com/ros-tracing/ros2_tracing.gitversion: masterros-visualization/interactive_markers:type: giturl: https://github.com/ros-visualization/interactive_markers.gitversion: ros2ros-visualization/python_qt_binding:type: giturl: https://github.com/ros-visualization/python_qt_binding.gitversion: mainros-visualization/qt_gui_core:type: giturl: https://github.com/ros-visualization/qt_gui_core.gitversion: mainros-visualization/rqt:type: giturl: https://github.com/ros-visualization/rqt.gitversion: ros2ros-visualization/rqt_action:type: giturl: https://github.com/ros-visualization/rqt_action.gitversion: ros2ros-visualization/rqt_bag:type: giturl: https://github.com/ros-visualization/rqt_bag.gitversion: ros2ros-visualization/rqt_console:type: giturl: https://github.com/ros-visualization/rqt_console.gitversion: ros2ros-visualization/rqt_graph:type: giturl: https://github.com/ros-visualization/rqt_graph.gitversion: galactic-develros-visualization/rqt_msg:type: giturl: https://github.com/ros-visualization/rqt_msg.gitversion: foxy-develros-visualization/rqt_plot:type: giturl: https://github.com/ros-visualization/rqt_plot.gitversion: foxy-develros-visualization/rqt_publisher:type: giturl: https://github.com/ros-visualization/rqt_publisher.gitversion: foxy-develros-visualization/rqt_py_console:type: giturl: https://github.com/ros-visualization/rqt_py_console.gitversion: crystal-develros-visualization/rqt_reconfigure:type: giturl: https://github.com/ros-visualization/rqt_reconfigure.gitversion: dashingros-visualization/rqt_service_caller:type: giturl: https://github.com/ros-visualization/rqt_service_caller.gitversion: crystal-develros-visualization/rqt_shell:type: giturl: https://github.com/ros-visualization/rqt_shell.gitversion: crystal-develros-visualization/rqt_srv:type: giturl: https://github.com/ros-visualization/rqt_srv.gitversion: crystal-develros-visualization/rqt_topic:type: giturl: https://github.com/ros-visualization/rqt_topic.gitversion: foxy-develros-visualization/tango_icons_vendor:type: giturl: https://github.com/ros-visualization/tango_icons_vendor.gitversion: masterros/class_loader:type: giturl: https://github.com/ros/class_loader.gitversion: ros2ros/kdl_parser:type: giturl: https://github.com/ros/kdl_parser.gitversion: ros2ros/pluginlib:type: giturl: https://github.com/ros/pluginlib.gitversion: ros2ros/resource_retriever:type: giturl: https://github.com/ros/resource_retriever.gitversion: ros2ros/robot_state_publisher:type: giturl: https://github.com/ros/robot_state_publisher.gitversion: ros2ros/ros_environment:type: giturl: https://github.com/ros/ros_environment.gitversion: rollingros/ros_tutorials:type: giturl: https://github.com/ros/ros_tutorials.gitversion: rolling-develros/urdfdom:type: giturl: https://github.com/ros/urdfdom.gitversion: masterros/urdfdom_headers:type: giturl: https://github.com/ros/urdfdom_headers.gitversion: masterros2/ament_cmake_ros:type: giturl: https://github.com/ros2/ament_cmake_ros.gitversion: masterros2/common_interfaces:type: giturl: https://github.com/ros2/common_interfaces.gitversion: masterros2/console_bridge_vendor:type: giturl: https://github.com/ros2/console_bridge_vendor.gitversion: masterros2/demos:type: giturl: https://github.com/ros2/demos.gitversion: masterros2/eigen3_cmake_module:type: giturl: https://github.com/ros2/eigen3_cmake_module.gitversion: masterros2/example_interfaces:type: giturl: https://github.com/ros2/example_interfaces.gitversion: masterros2/examples:type: giturl: https://github.com/ros2/examples.gitversion: masterros2/geometry2:type: giturl: https://github.com/ros2/geometry2.gitversion: ros2ros2/launch:type: giturl: https://github.com/ros2/launch.gitversion: masterros2/launch_ros:type: giturl: https://github.com/ros2/launch_ros.gitversion: masterros2/libyaml_vendor:type: giturl: https://github.com/ros2/libyaml_vendor.gitversion: masterros2/message_filters:type: giturl: https://github.com/ros2/message_filters.gitversion: masterros2/mimick_vendor:type: giturl: https://github.com/ros2/mimick_vendor.gitversion: masterros2/orocos_kdl_vendor:type: giturl: https://github.com/ros2/orocos_kdl_vendor.gitversion: mainros2/performance_test_fixture:type: giturl: https://github.com/ros2/performance_test_fixture.gitversion: mainros2/pybind11_vendor:type: giturl: https://github.com/ros2/pybind11_vendor.gitversion: masterros2/python_cmake_module:type: giturl: https://github.com/ros2/python_cmake_module.gitversion: masterros2/rcl:type: giturl: https://github.com/ros2/rcl.gitversion: masterros2/rcl_interfaces:type: giturl: https://github.com/ros2/rcl_interfaces.gitversion: masterros2/rcl_logging:type: giturl: https://github.com/ros2/rcl_logging.gitversion: masterros2/rclcpp:type: giturl: https://github.com/ros2/rclcpp.gitversion: masterros2/rclpy:type: giturl: https://github.com/ros2/rclpy.gitversion: masterros2/rcpputils:type: giturl: https://github.com/ros2/rcpputils.gitversion: masterros2/rcutils:type: giturl: https://github.com/ros2/rcutils.gitversion: masterros2/realtime_support:type: giturl: https://github.com/ros2/realtime_support.gitversion: masterros2/rmw:type: giturl: https://github.com/ros2/rmw.gitversion: masterros2/rmw_connextdds:type: giturl: https://github.com/ros2/rmw_connextdds.gitversion: masterros2/rmw_cyclonedds:type: giturl: https://github.com/ros2/rmw_cyclonedds.gitversion: masterros2/rmw_dds_common:type: giturl: https://github.com/ros2/rmw_dds_common.gitversion: masterros2/rmw_fastrtps:type: giturl: https://github.com/ros2/rmw_fastrtps.gitversion: masterros2/rmw_implementation:type: giturl: https://github.com/ros2/rmw_implementation.gitversion: masterros2/ros2cli:type: giturl: https://github.com/ros2/ros2cli.gitversion: masterros2/ros2cli_common_extensions:type: giturl: https://github.com/ros2/ros2cli_common_extensions.gitversion: masterros2/ros_testing:type: giturl: https://github.com/ros2/ros_testing.gitversion: masterros2/rosbag2:type: giturl: https://github.com/ros2/rosbag2.gitversion: masterros2/rosidl:type: giturl: https://github.com/ros2/rosidl.gitversion: masterros2/rosidl_dds:type: giturl: https://github.com/ros2/rosidl_dds.gitversion: masterros2/rosidl_defaults:type: giturl: https://github.com/ros2/rosidl_defaults.gitversion: masterros2/rosidl_python:type: giturl: https://github.com/ros2/rosidl_python.gitversion: masterros2/rosidl_runtime_py:type: giturl: https://github.com/ros2/rosidl_runtime_py.gitversion: masterros2/rosidl_typesupport:type: giturl: https://github.com/ros2/rosidl_typesupport.gitversion: masterros2/rosidl_typesupport_fastrtps:type: giturl: https://github.com/ros2/rosidl_typesupport_fastrtps.gitversion: masterros2/rpyutils:type: giturl: https://github.com/ros2/rpyutils.gitversion: masterros2/rviz:type: giturl: https://github.com/ros2/rviz.gitversion: ros2ros2/spdlog_vendor:type: giturl: https://github.com/ros2/spdlog_vendor.gitversion: masterros2/sros2:type: giturl: https://github.com/ros2/sros2.gitversion: masterros2/system_tests:type: giturl: https://github.com/ros2/system_tests.gitversion: masterros2/test_interface_files:type: giturl: https://github.com/ros2/test_interface_files.gitversion: masterros2/tinyxml2_vendor:type: giturl: https://github.com/ros2/tinyxml2_vendor.gitversion: masterros2/tinyxml_vendor:type: giturl: https://github.com/ros2/tinyxml_vendor.gitversion: masterros2/tlsf:type: giturl: https://github.com/ros2/tlsf.gitversion: masterros2/unique_identifier_msgs:type: giturl: https://github.com/ros2/unique_identifier_msgs.gitversion: masterros2/urdf:type: giturl: https://github.com/ros2/urdf.gitversion: ros2ros2/yaml_cpp_vendor:type: giturl: https://github.com/ros2/yaml_cpp_vendor.gitversion: master

ROS 2 Humble Hawksbill 环境基础相关推荐

  1. ROS 2 Humble Hawksbill 命令基础

    五个核心 node topic service parameter action ros2 -h 用法:ros2 [-h] [--use-python-default-buffering] 调用 `r ...

  2. ROS 2 Humble Hawksbill 丰富和成熟生态扩展

    ROS1从kinetic之后,生态非常成熟,但是由于ROS1内核设计比较早,不能高效稳定地适应分布并行和实时等应用,存在缺陷,从melodic和noetic之后,一直是ROS1和ROS2并存地状态. ...

  3. ROS 2 Humble Hawksbill 之 f1tenth gym

    之前关于ROS1的博文链接如下: 蓝桥ROS之f1tenth简单PID沿墙跑起来(Python) 那么,在ros2 humble下效果如何呢? 地图为:levine 地图为:Spielberg_map ...

  4. ROS 2 Humble Hawksbill 官方文档

    全部文档:docs.ros.org 5年长支持版本ROS2 humble: docs.ros.org/en/humble ROS 2 文档 机器人操作系统 (ROS) 是一组用于构建机器人应用程序的软 ...

  5. 安装ROS、gazebo、PX4基础细节及offboard控制

    新手参考教程安装ROS.gazebo.PX4基础细节及offboard控制 1.安装ROS 参考教程 2.安装PX4 参考教程 注: 1.在编译px4_Firmware前会经过安装步骤,安装需要去gi ...

  6. ROS 2 Humble 标定纠正畸变全景鱼眼展开网络摄像头

    from: https://blog.zhjh.top/archives/dKw4qwd4j7vw6q0R1KB37 简介 本文使用 Ubuntu 系统,用 Python 开发 ROS 2 ,用 ca ...

  7. Java开发环境基础配置

    开发环境基础配置 概述 安装JDK 配置JDK(选做) 如何配置 为什么要配置 第一个Java程序 hello world案例 安装IDEA IDEA的使用(重要) 第一行IDEA代码 创建Proje ...

  8. 【Linux】Linux环境基础开发工具使用 —— yum | vim | gcc g++ | gdb | make makefile | 进度条 | git

    Linux环境基础开发工具使用 1. Linux软件包管理器yum 1.1 什么是软件包 1.2 软件安装三板斧 1.2.1 查看软件包 1.2.2 安装软件 1.2.3 卸载软件 2. vim 2. ...

  9. ROS TF2 中的 四元数 基础部分

    ROS TF2 中的 四元数 基础部分 1.四元数的组成 2.将 RPY坐标系 下的 角度 转换为 四元数 3.如何通过四元数 做 旋转 4.四元数转置 5.求两个姿态(四元数)的旋转 5. 完毕 这 ...

最新文章

  1. docker搭建gitlab
  2. 机器学习 + 深度学习 + 计算机视觉 + 自然语言处理: 原理, 实践以及应用 --- 干货分享(持续更新…)
  3. mysql数据实时同步:Canal安装部署、kafka安装、zk安装、mysql安装、Canal Server+Canal Client HA,Canal+mysql+Kafka,相关验证(学习笔记)
  4. spring和mybatis结合做简单的增删查改系统_如何从零开始设计权限管理系统
  5. HDU2012 素数判定【入门】
  6. 【数学模型】商人们怎样过河?
  7. WIN10 WIN11的vs2019与fortran编译环境的安装
  8. Ubuntu下eclipse无法识别手机驱动
  9. 英语语法回顾1——简单句
  10. 华人泰斗黄煦涛逝世,贤伉俪深情六十载
  11. 3D打印机T3升级corexy  制作过程(一)
  12. 如何使用html实现在线秒表,js实现简单的秒表
  13. Spring Cloud Data Flow流处理入门-5
  14. win7怎么共享文件
  15. 6-7 十进制转换二进制(15 分)
  16. 【ROSGAZEBO】多旋翼无人机仿真(六)——SE(3)几何姿态控制器
  17. 一份超全的Python学习资料汇总
  18. 矩阵股份上市首日跌破发行价:振幅达10%,王冠为实际控制人
  19. 烟草制品业怎么加强固定资产管理软件系统
  20. Windows连接Samba服务时报“找不到网络名”

热门文章

  1. javaserver_JavaServer页面简介
  2. Android安卓——实现发短信功能的代码
  3. SpringBoot+vue 使用阿里云的短信功能发送手机验证码
  4. 天耀18期 - 12.数据结构-1-2.LinkedList【作业】-猜数字.doc
  5. Handling Complexity in the Halo 2 AI
  6. 常用函数式接口及Stream流
  7. 深度搜索处理问题的关键 --- 做leetcode深度搜索类题目小结
  8. HBase Shell常用命令
  9. 永不过时的优雅 KOREANO ESSENTIAL 2022秋冬系列全新上市
  10. edge浏览器如何设置始终在新标签页中打开?