본문 바로가기
Libraries & Packages/ROS

[ROS] Launch 파일에서 rosbag play 방법

by yongee97 2023. 7. 30.

* 방법

    <node pkg="rosbag" type="play" name="player" output="screen"
    args="[your bag].bag
    --clock -r 1.0 -s 0
    --topics [your topic]"/>

 

* Reference

https://answers.ros.org/question/62811/how-to-play-rosbag-using-launch-file/

 

How to play rosbag using launch file ? - ROS Answers: Open Source Q&A Forum

How to play rosbag using launch file ? edit I'm trying to play a bagfile using following launch file. However, it gave me an error like this when I launch it. [FATAL] [1368634083.754058723]: Error opening file: 8tags.bag [rosbag-1] process has died [pid 14

answers.ros.org