侧边栏壁纸
博主头像
Billy 的技术空间博主等级

君子生非异也,善假于物也。

  • 累计撰写 17 篇文章
  • 累计创建 1 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

ROS2 常用命令

billy
2023-01-19 / 0 评论 / 1 点赞 / 107 阅读 / 743 字
  • ROS2 Create

    ros2 pkg create --build-type ament_cmake learning_pkg_demo1 # C++
    ros2 pkg create --build-type ament_python learning_pkg_demo2 # Python
  • ROS2 Build

    colcon build
  • ROS2 run

    ros2 run node_name bin_name
  • ROS2 node

    ros2 node list/info
  • ROS2 topic

    ros2 topic list # topic 列表
    ros2 topic info ${topic} # topic 信息
    ros2 topic bw ${topic} # topic 带宽
    ros2 topic echo ${topic} # 打印 topic 信息

1

评论区