How to view existing a bag file?
I use ubuntu 12.04 and fuerte. I install ROS from wiki page. I want to view a .bag file but I cannot do it. On ubuntu terminal, I run below commands :
roscore
rosbag play LSD_room.bag
I see only below output
EDIT
I run below command
rosrun rviz rviz
Last output image is below
Asked by jossy on 2015-06-29 00:40:05 UTC
Answers
If you want to inspect the data in a bag file, you can use rqt_bag, or you can use rosbag info to list the topics in a bag file. From there, you need to understand the type of data in those topics in order to understand how to set up rviz.
If you've having trouble running the lsd_slam examples, you should probably ask that question directly instead of asking a vague and mostly unrelated question.
Asked by ahendrix on 2015-06-29 02:04:12 UTC
Comments
There is a sentence that says I tried rosbag command. But I don't see anything on riz and viewer window.
Asked by jossy on 2015-06-29 02:21:15 UTC
Comments
Well, is the Bag Time/Duration counter increasing? If yes, you are actually already playing the bagfile. Bagfiles just record topics, so you need to start rviz and configure it accordingly. Do a 'rosbag info LSD_room.bag' to see which topics you actually recorded.
Asked by mgruhler on 2015-06-29 00:49:03 UTC
Yes, the counter is increasing. Result of 'rusbag info .bag' command is below :
version: 2.0 duration: 55.3s start: May 13 2014 20:31:02.21 (1400002262.21) end: May 13 2014 20:31:57.55 (1400002317.55) size: 793.2 MB messages: 5404 compres
Asked by jossy on 2015-06-29 01:10:54 UTC
I run 'rosrun rviz rviz'. It says that './rviz/display_config doesn't exist'. I click ok. But I don't see anything on it.
Asked by jossy on 2015-06-29 01:12:56 UTC
Well, you don't have an rviz default config saved yet. This is what the error says. You then obviously have to configure rviz such that you can view your topic. But this depends on what you have recorderd (I don't see the full output, please edit your question to show the full output)
Asked by mgruhler on 2015-06-29 01:23:54 UTC
On another note, why do you use Fuerte? Fuerte is quite outdated by now, and will thus receive no more updates. There has just recently been the release of Jade (Fuerte->Groovy->Hydro->Indigo->Jade).
Asked by mgruhler on 2015-06-29 01:25:16 UTC
What do you expect to see? Are you following a tutorial?
Asked by ahendrix on 2015-06-29 01:28:24 UTC
@mig, I use fuerte because my ubuntu version is 12.04. I just edit my question text.
Asked by jossy on 2015-06-29 01:34:55 UTC
@ahendrix, I want to run lsd_slam on my pc. So, I install ROS. But I can't run any lsd_slam example. So, I start basic command.
Asked by jossy on 2015-06-29 01:36:38 UTC