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
rosbag命令行操作 - Hello World

rosbag命令行操作

清歌
2023-01-06 / 0 评论 / 0 阅读 / 正在检测是否收录...

简介

ROS 内置的乌龟案例并操作,操作过程中使用 rosbag 录制,录制结束后,实现重放

操作过程

创建录制文件目录
//创建xxx目录
//mkdir xxx
mkdir bags
开始录制
//rosbag record -a -o 路径/文件名
rosbag record -a -o bags/hello.bag

Snipaste_2023-01-06_09-17-10.png

查看录制文件基本信息
//rosbag info 路径/文件名
rosbag info bags/hello.bag

Snipaste_2023-01-06_09-17-20.png

回放录制文件
rosbag play 路径/文件名 
rosbag play bags/hello.bag

Snipaste_2023-01-06_09-18-00.png

0

评论 (0)

取消