Ask Your Question
0

Error opening file: mylaserdata.bag

asked 2012-08-16 19:19:38 -0500

updated 2020-10-05 21:26:17 -0500

M@t gravatar image

Hi all, I just use the Hokuyo laser range-finder to try to make my own map following 2.2 of this website (http://www.ros.org/wiki/slam_gmapping...). However, when I typed rosbag play mylaserdata.bag, it failed!!!! And the terminal displays:

[FATAL] [1345180506.412656994]: Error opening file: mylaserdata.bag

How can I deal with it? Any help is appreciated!

edit retag flag offensive close merge delete

Comments

Sorry if this is too obvious, but is the file mylaserdata.bag located on the same folder where you are executing "rosbag play mylaserdata.bag"? if it is not then you should provide the path to the bag file when executing rosbag play

Martin Peris gravatar image Martin Peris  ( 2012-08-16 19:45:12 -0500 )edit

In GUI, do you see the file name as mylaserdata.bag.active?

Sudhan gravatar image Sudhan  ( 2012-08-16 22:53:59 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-04-09 02:42:40 -0500

ct2034 gravatar image

updated 2014-04-09 02:44:01 -0500

I tried to reproduce the error and for me this only occurs when the file doesn't exist. Please navigate to the folder where the bag-file lies. e.g:

cd /path/to/file

(I don't know where this is in ur case.)

And make sure, you have read access there! then use:

rosbag play mylaserdata.bag

Maybe ther is also a typo. (Check the name you used when recording the file)

edit flag offensive delete link more
-1

answered 2015-04-17 02:45:52 -0500

facing the same error.. checked with the location as well as spell check.. nothing wrong with either of them.. what else can be the issue?

edit flag offensive delete link more

Comments

Kindly do not comment in Answer field..

kk2105 gravatar image kk2105  ( 2020-10-05 22:55:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2012-08-16 19:19:38 -0500

Seen: 5,782 times

Last updated: Oct 05 '20