How do I know when rosbag finished? (by code - without looking at the terminal)
Hello, I'm writing a node to convert from a rosbag to a .mat file using matlab's api for this. I am subscribing to the topics contained in the rosbag and via a callback function I can read the...
View ArticleIn ros gmapping, how to use Intel Research Lab dataset?
I don't know how to use the Intel Research Lab dataset (.clf). Should I read the file and publish the lase_scan and tf topic? If so,how should I do in detail? thanks.
View ArticleInteractive Marker with rosbag "ROS Time moved backwards"
I'm using rqt_bag to visualize a rosbag in RViz. Independently of that, I publish a interactive marker that changes colors based on a topic being published. This works well, until I move backwards in...
View ArticleHow do you expand the displayed data in rqt_bag?
I'm playing back data from a rosbag file and I want to view the entire NMEA "GGA" sentence in real-time. However, when I try to enlarge the play-back window I get this: ![image...
View Articlerosbag randomly missing topics on record
Hi all. We've got a very weird case. Our configuration: - main_computer: running roscore - slave_A_computer (ROS_MASTER_URI=main_computer) - slave_B_computer (ROS_MASTER_URI=main_computer) -...
View ArticleHow to split a recorded rosbag file ?
Ubuntu 12.04 and fuerte I have a bag file of 400 seconds length. I would like to split it into two bag files of 150 seconds and 250 seconds. There is an option to split bag files while recording using...
View Articlerosbag c++ API bug at execution
Hi everyone, i'm having a real weird problem with the rosbag c++ API. I'm using QtCreator to develop on Ubuntu 14.04. Whenever I try to use a class from the rosbag library (rosbag::Bag or rosbag::View...
View Articlesegfault when reading rosbag
Hi all, I'm trying to parse a rosbag file. According to the guide here, I wrote something like this: rosbag::Bag bag; std::vector topics; std::cout << "Opening " << filename_ <<...
View Articlerosbag playback speed
Hi all, We have some sensor data that are saved as .csv files (data+timestamp) from a robot, which does not run ROS. To run some algorithms, I converted once such file into a ROS bag file using a...
View Articlehow to sync two ROS topics by adjusting the time stamp
**Actual Issue:** I have a topic published with images from a camera and another topic with details of point cloud. When I plot these two topics, there is a time lag between the two plots. Is there any...
View ArticleHow to playback Rosbag pointcloud2 files
Hi, I'm currently trying to playback a rosbag file made with pointcloud2, and I can do it with the rviz software, but for my purposes, I need to be able to go back and forth in the video (like you...
View ArticleHow do I append/add to a rosbag file without overwriting it in Python?
Basically I was testing recording data to a rosbag using a timestamp. I noticed that every time I open and close the file it just rewrites the data, so I just leave the file open when the program...
View Articlerosbag only record at edge trigger
Hi, Is it possbile to have rosbag only record a topic when this topic has a certain value, e.g. 0, 1, 2 and ignore 0.1 - 0.9, 1.1 - 1.9, etc. to reduce the amount of data being recorded? Thanks.
View ArticleHow to convert Rosbag Pointcloud2 to Mp4
So I have a bunch of rosbag files that only contain a pointcloud2 topic. I need to be play through these, and have accurate times for them, because I'm using them to tag data. This means the typical...
View ArticleWhen will rosbag::Player be released?
Hi all, I just found out about rosbag functionality and would very much like to add playback buttons to an application I'm currently writing. I've found the rosbag::Player class. Documentation states:...
View ArticleDe-noise images in rosbag
I have a rosbag with a bunch of IMU measurements and image data. In order to use the FAST detector of OpenCV, I want to de-noise my image data. For this I would preferably use OpenCV (C++ or Python)....
View Articlerosbag in launch file not saving properly
I can successfully save data through command line tools (rosbag record -O mybag.bag /state) but when I convert this to a launch file implementation it does not save the "mybag.bag" file properly or I...
View ArticleHow to convert sick lms logged data .log to rosbag file .bag
Hi, ROS users, I am quite new to ROS. Now I have a question cannot solve, please help me, sincerely. Now I want to use Gmapping to make 2D grid occupancy map using logged SICK LMS data. I think the...
View ArticleAutomated rosbag on start up
My plan is to use a remote computer to create a rosbag. I was wondering what is the best practice to automatically start a rosbag record instance after boot on an Ubuntu 14.04 Odroid system. Any...
View ArticleExporting jpegs from bag file
I record my bag file using this command: rosbag record /camera/rgb/image_raw -O kinectrgb And rosbag info kinectrgb.bag For its content I get this: path: kinectrgb.bag version: 2.0 duration: 6.2s...
View Article