Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to play rosbag using launch file ?

I'm trying to play a bagfile using following launch file.

<launch>
  <node pkg="rosbag" type="play" name="rosbag" args="$8tags.bag"/>
</launch>

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 14246, exit code 1, cmd /opt/ros/groovy/lib/rosbag/play $8tags.bag __name:=rosbag __log:=/home/mayara/.ros/log/7e11c8fc-bd77-11e2-ae06-ac72890c90a9/rosbag-1.log].
log file: /home/mayara/.ros/log/7e11c8fc-bd77-11e2-ae06-ac72890c90a9/rosbag-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

How to play rosbag using launch file ?

I'm trying to play a bagfile using following launch file.

<launch>
  <node pkg="rosbag" type="play" name="rosbag" args="$8tags.bag"/>
args="8tags.bag"/>
</launch>

However, it gave me an error like this when I launch it.

[FATAL] [1368634083.754058723]: Error opening file: $8tags.bag
8tags.bag
[rosbag-1] process has died [pid 14246, exit code 1, cmd /opt/ros/groovy/lib/rosbag/play $8tags.bag __name:=rosbag __log:=/home/mayara/.ros/log/7e11c8fc-bd77-11e2-ae06-ac72890c90a9/rosbag-1.log].
log file: /home/mayara/.ros/log/7e11c8fc-bd77-11e2-ae06-ac72890c90a9/rosbag-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

How to play rosbag using launch file ?

I'm trying to play a bagfile using following launch file.

<launch>
  <node pkg="rosbag" type="play" name="rosbag" args="8tags.bag"/>
</launch>

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 14246, exit code 1, cmd /opt/ros/groovy/lib/rosbag/play $8tags.bag __name:=rosbag __log:=/home/mayara/.ros/log/7e11c8fc-bd77-11e2-ae06-ac72890c90a9/rosbag-1.log].
log file: /home/mayara/.ros/log/7e11c8fc-bd77-11e2-ae06-ac72890c90a9/rosbag-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done