Problems in extracting images from bag file
Hi, I'm a newbie to ROS (and Linux too) so probably this is the most stupid question ever, but I swear I have followed the first tutorials on the wiki and I'm starting to learn little by little. I have downloaded a bag file (named carrello1.bag) which contains a lot of topic, including some images that I need to extract in order to process them with some image processing programs.
I've seen the tutorial "export image and video data from a bag file" that is literally the thing I have to do, and I setup my system doing all the Beginner Level Tutorials and creating a new package (provatesi) with the launch file (named provatesi.launch) - as in the tutorial and changing the directory
$(find image_view)/test.bag
to
~ /home/mattia/Desktop/carrello1.bag
since the tutorial assumes that you have a .bag file previously created that is named test.bag and that this bag file is stored in the image_view package directory. But when I execute
$ roslaunch provatesi provatesi.launch
I get:
[FATAL] [1268662434.297981030]: Error opening file: ~/home/mattia/Desktop/carrello1.bag
Where am I making the mistake?