Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 19

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 20

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 21

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 22

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 23
ROS命令行--小海龟实例 - Hello World

ROS命令行--小海龟实例

清歌
2022-10-19 / 0 评论 / 0 阅读 / 正在检测是否收录...

启动小海龟

启动ROS Master
roscore
启动小海龟仿真器
rosrun turlesim turlesim_node
启动海龟控制节点
rousrun turlesim turtle_teleop_key

roscore

启动ROS Master,启动ROS必须先运行roscore

rosrun

运行某个功能包的某个节点

rosrun [功能包] 然后双击Tab键会将功能包下所有节点列出

rosrun 功能包 节点

rqt

ROS内基于QT的可视化工具

rqt_graph--显示当前系统的结构图
请输入图片描述

rosnode

按enter键查看参数

rosnode 参数 功能包

请输入图片描述

rostopic

查看当前项目的话题
rostopic list

请输入图片描述

rosmsg

显示有关ROS的信息

参数如下
请输入图片描述

rosservice

参数如下

请输入图片描述

rosbag

参数如下

请输入图片描述

rosbag记录

请输入图片描述

rosbag播放

请输入图片描述

0

评论 (0)

取消