ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Try using roslaunch. E.g.
<launch>
<node pkg="rosbag" type="rosbag" name="rosbag" args="play -2 $(find NAME_OF_PACKAGE)/subset.bag" required = "true"/>
<node pkg="stagelistener" type="stagelistener" name="stagelistener" args="listen"/>
</launch>
Not sure why you need the stdin stuff.. but I'm sure you have a good reason.