Procopios answer is correct. I'd like to add the alternative of having rgbdslam directly process your bagfile by setting the parameter config/bagfile_name
in your launchfile. The advantage is that every frame will be processed (depending on the data_skip_step parameter) and therefore the results are independent of your machine's speed. Playing a bagfile, frames will be dropped unless your machine is fast enough for realtime processing.
Originally posted by Felix Endres with karma: 6468 on 2013-07-11
This answer was NOT ACCEPTED on the original site
Post score: 2
Original comments
Comment by silgon on 2014-01-05:
how do I set that parameter?
Comment by Felix Endres on 2014-01-23:
have a look at one of the launchfiles in rgbdslam/launch on how the other parameters are set. Then just assign the absolute path of the bagfile to "config/bagfile_name".
Comment by Wilk on 2014-02-10:
I have same problem- I tried this:
set the use_sim_time parameter to true
but it doesn't works. but
set the use_sim_time parameter to 1
works. After executing:
rosbag play xxxx.bag --clock
I can listen to clock info, but after launching rgbdslam I receave this warning:
WARNING: no messages received and simulated time is active.
Is /clock being published?
So I assume that octomap_server launched in seperate terminal doesn't receave a clock information too. What can be done with this?