当前位置:网站首页>ROS2常用命令行工具整理ROS2CLI
ROS2常用命令行工具整理ROS2CLI
2022-07-22 21:05:00 【bisheng95】
参数相关
$ ros2 param list
$ ros2 param describe /turtlesim background_b
$ ros2 param get /turtlesim background_b
$ ros2 param set /turtlesim background_r 44
$ ros2 param dump /turtlesim #保存
$ ros2 param load /turtlesim ./turtlesim.yaml #加载
$ ros2 run turtlesim turtlesim_node --ros-args --params-file ./turtlesim.yaml
$ ros2 run example_parameters_rclcpp parameters_basic --ros-args -p rcl_log_level:=10
话题相关
$ ros2 topic list # 查看话题列表
$ ros2 topic info /turtle1/cmd_vel # 查看话题信息
$ ros2 topic hz /turtle1/cmd_vel # 查看话题发布频率
$ ros2 topic bw /turtle1/cmd_vel # 查看话题传输带宽
$ ros2 topic echo /turtle1/cmd_vel
$ros2 topic pub --once /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}"
$ros2 topic pub -r 1 /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}"
边栏推荐
- Stm32cubeide link script explanation
- 开发过程中的总结 BaseService 为所有的 Controller或Service 提供一个公共获取 Service 的文件,减少重复注入
- 树和二叉树
- Here comes the genuine Adobe software! Adobe's only genuine family bucket subscription in the world costs only 0 yuan / year
- 阿里云安全中心之漏洞修复最佳实践
- VR panoramic zoo, a zoo business card with different achievements
- 第二篇如何使用SourceTree更新代码到本地
- Custom view: levitation ball and accelerator ball
- Z-Wave 800: Se firmware upgrade
- NFT Insider #67:巴塞罗那足球俱乐部推出首个NFT作品,迪拜推出国家元宇宙战略
猜你喜欢
随机推荐
ETL tool (data synchronization)
UNO/ESP8266 for TCA9548A模块双通道驱动2块SH1106 1.3“显示
园区招商难在“哪”?产业园区招商引资困点难点问题盘点
如何使用订单流分析工具(下)
remove函数的实现
Wechat campus second-hand book trading applet graduation design finished product (6) opening defense ppt
Application of the latest version of Ontrack easyrecovery computer data recovery software
Vector3.Lerp
Wechat campus second-hand book trading applet graduation design finished product (5) assignment
[ssm] unified result encapsulation
Ambire 钱包开启 Twitter Spaces 系列
Wechat hotel reservation applet graduation project (7) Interim inspection report
Leetcode 757 set the intersection size to at least 2[sort greedy] the leetcode path of heroding
现货白银走势图大致是怎么样变化的?
LaTeX编写中文实验进展汇报
類和對象(1)
Are most programmers eliminated after the age of 45? The truth chilled everyone's heart
局域网SDN技术硬核内幕 8 从二层交换到三层路由
如何使用订单流分析工具(中)
Part I sourcetree installation









