I am trying to extract the image from .bag file.Always this error pops up
what is wrong in the launch file?
<launch>
<node pkg="rosbag" type="play" name="rosbag" required="true" args="$(find training_data)/sensor_recording_camera_trackdrive.bag"/>
<node name="extract" pkg="image_view" type="extract_images" respawn="false" required="true" output="screen" cwd="ROS_HOME">
<remap from="image" to="/camera/image_raw"/>
</node>
</launch>
error:
Invalid roslaunch XML syntax: syntax error: line 1, column 0
The traceback for the exception was written to the log file
There is no error in this launch file where it claims there is. It's possible you're actually trying to launch a different file. Can you show us the command you're using to start ros launch and the paths of the relevant files.
i am launching as roslaunch training_data bag_data.launch bag file path /home/saipreethamsata/catkin_ws/src/egn17-18 the bag file is in the training_data package
my image_view directory /opt/ros/kinetic/share/image_view
https://coderwall.com/p/qewf6g/how-to...
I have used this link to extract images. Thanks for help anyways.
What do you see when you type the following two commands:
roscd training_data/launch
less bag_data.launch
I could see bag_data.launch. <launch> 2 <node pkg="rosbag" type="play" name="rosbag" required="true" args="$(sensor_recording_camera_trackdrive.bag"/>
there is minor change in the data path of training_data.Should i modify my launch file accordingly?