exclude some topics from rosbag play
I have a bag file with a bunch of topics inside of it, is it possible to *exclude* some topics from being played back? For example, the bag file might have: topics: /camera/depth/image 150 msgs :...
View ArticleHow to extract depth data from rosbags(contains depth and RGB data) as...
I have a Bagfile containing Raw depth and RGB data. I converted the RGB data into images using the tutorial http://wiki.ros.org/rosbag/Tutorials/Exporting%20image%20and%20video%20data But when I used...
View ArticleExporting jpegs from bag file skips frames
Hi to everyone, I am following this tutorial to generate a video from a bag file in which I put the frames of a vision sensor:...
View Articlesubsampling rosbag images
Hello everyone, I got a problem by coping with the rosbag. I want to evaluate the SLAM performance in wide baseline. I got a rosbag, which is 50fps(frame per second) . The specific task is subsample...
View ArticleWhen does rosbag start capturing messages and why I see the delay in two...
I am trying to understand how much time it takes for rosbag to start capturing packet as soon as we type `rosbag record -a` . After analyzing packets captured in the wireshark ( see the wireshark...
View ArticleHow to stop rosbag recording in C++ rather than command line ?
The rosbag::recorder class by default can only stop rosbag recording when the rosnode is shutdown. Is there any change we can make so that the ROS application would start and stop recordings by calling...
View ArticleHow to use tf_remap??
Hello, I have a rosbag in which a /tf topic is recorded. I need to remap all tf frames in that bag which refer to the frame named '/world' to refer to a new frame named '/vision'. I tried the...
View ArticleExtracting definition of customized messages from bag files
TL;DR: How can write a node that subscribes to topics under customized messages that's published from a bag when I don't have access to the definition of the customized messages (the .msg files)? I...
View ArticleDoes "rosbag record -j" do its compression in the background after ROS shutdown?
I have a Python node that invokes ``rosbag record -j`` to record some topics. * On shutdown, ``rosbag`` returns. * At that point I want to run a script that uploads the bag from the robot to a server....
View ArticleExport from rosbag
Hi, I'm recording an ROS bag using [Intel R200](http://wiki.ros.org/RealSense_R200) at 30Hz. Using "rosbag info" I see the right amount of frames(duration*30[Hz]), yet when [exporting the bag to...
View ArticleRosbag and timestamp received vs timestamp published
I can't find it anymore but I seem to recall reading somewhere that when you record a rosbag, the timestamp encoded to the message is the time at which the message was received by the rosbag record...
View ArticleHow to subscribe to sensor_msgs/CompressedImage without the raw image?
Recently, I recorded a large set of image data using a rosbag, but I am not able to get the subscriber working for the compressed image topic. I did not save the image_raw topic. I only saved the...
View ArticleHow to get number of messages in one topic from rosbag.py
Hello! I was wondering whether with the Python module rosbag there is any chance to get the number of recorded messages in one topic. The Bag.read_messages method returns a generator and of course I...
View ArticleOdometry from tf/tfMessage
I'm using gmapping to make the map from a prerecorded Rosbag file, which contains laser and TF topics. I'm able to do the map without any problems. Somehow I need to access the odometry information...
View Articlerqt_bag and rosbag not publishing same messages
Hello, I'd like to visualize a robot performing a specific task. This involves playing a bag file with rqt_bag and visualizing the tf frames in RViz. I load the bag in rqt_bag, publish tf, and set...
View ArticleRosbag record to different path?
Hi all, Is there any way to record rosbag data to a different location than the default location? I am getting the following error: [ERROR] [1460470166.869390414]: Less than 1GB of space free on disk...
View ArticleCan you somehow use txt files to make a rosbag?
Hi! With the use of the program Eclipse I get sensordata and encoderdata saved in .txt files after a testdrive with a robot. Is it somehow possible to use these .txt files and convert them together to...
View Article.txt file with timestamp to rosbag
Hi I have a txt file with sensordata and a txt file with encoder data. Both have a timestamp. I want to use these to make a rosbag, how is this possible with C++? Thanks
View Articlerospy cyclic buffering of topics with timestamps
I have a lot of topics that I want to store in a buffer, but the individual topics shouldn't be recorded for more than 10 seconds each. For a couple of topics this line functions fine, but if I want to...
View Articlerosbag playing 100hz lidar data
Hi I'd recorded four lidar(Sick LMS511@100hz,0.67deg) with sicktoolbox_wapper2 and rosbag record(lidar1/scan, lidar2/scan, and so on). Once I tested my code in the lab using rosbag play XXX.bag, I...
View Article