How to convert a sequence of registered RGB and depth images into a ROSBAG?
Hi, I would like to use the rgbdslam_v2 package http://felixendres.github.io/rgbdslam_v2/ on my own RGB-D data. My RGB-D data is supplied as a a pair of image sequences, one consisting of depth images...
View ArticleHow to detect broken rosbag files
Hello ROS users, I've recorded plenty rosbag files during a testrun with a 1min split and lz4 compression. Afterwards some of the data got corrupted (by the harddrive, not an error with rosbag). When...
View ArticlePlayback of rosbag with tf2-static transforms
Hello ROS users, I've got a robot setup where (most) of the static transforms are defined by an URDF (which results in tf2-static tfs). During a testrun we recoded plenty of bag-files which where...
View ArticleCan't get an image from a rosbag file in rviz
Hello. I have two mashines. One has a started roscore and iai_kinect2 package. I recorded a rosbag file with one topic (/kinect2/qhd/image_color/compressed) on another PC. But when I tried to look at...
View Articleunable to extract images from bag file
http://wiki.ros.org/rosbag/Tutorials/Exporting%20image%20and%20video%20data I am following this tutorial. after I did roslaunch export.launch, "" [rosbag-2] process has finished cleanly log file:...
View ArticleHow to convert .csv or .mat file to ros?
I collect the odom and IMU data by dspace microautobox and at the same time I collected lidar data directly on ROS. The odom data is .mat file now and it can be converted to .csv file. The lidar data...
View Articlehow to use rosbag API?
I'm following the [C++ tutorial](http://wiki.ros.org/rosbag/Code%20API) and after I write down the code as .cpp file. What should I do next? #include #include #include int main(argc, char** argv) {...
View ArticleCan I record the data of the latest several seconds to a .bag?
Hi, I would like to record the data of the latest several seconds, but do not find any way to do that. I think that what I need is a queue. Say, a topic of 1 hz, and I want to record the latest three...
View ArticleAccess next element in topics from rosbag C++ API
Hi, I have bagfiles with a bunch of different topics (that are synchronized). I would like to access the next element from each of those topics to perform some operations on them. And this would go on...
View ArticleIs it normal to see duplicate console messages with identical time stamps?
I'm debugging some robot code by playing a bag file and capturing the console messages via rqt. One thing that strikes me as odd is that there are duplicate messages with the same time stamp but they...
View ArticleIs there a way to play a ROSBAG on repeat?
Is there a way to get rosbag to play a bag file on loop?
View Articlefind position of object in a bag
Hi guys, I need to find(estimate) the 3D position of the 'people in the scene' -- (this is in the bag file) with respect to the camera. My code is : (I didn't write it) //ROS #include #include #include...
View ArticleTF error even after setting --clock and use_sim_time
Hello! I am playing a rosbag after setting `rosparam set use_sim_time true` and then `rosbag play --clock 2017-03-22-08-09-56.bag -l`. I am still getting this error: TF_OLD_DATA ignoring data from the...
View ArticleCan I use the Python Ros bag API without making a workspace?
I'm using roscpp, but I'd like to make a transferrable python script for working with bag files. However, the docs only tell me how to do it through a catkin workspace. Is there a way to import the...
View ArticleAre there any third party tools for fixing rosbag files?
We just carried out an experiment in which 15 minutes of raw depth images were recorded, at an approximate rate of 1GB/min. The resulting bag file looked the correct size, but 'rosbag info' shows that...
View ArticleConverting a bag with uncompressed Images to CompressedImages
I have an offline program that will bag.write sensor_msgs/Image and would rather compress them into a smaller format (e.g. JPEG) for easier streaming. Compressing the bags with bz2 or lz4 is...
View ArticleWhy am I getting a nullptr from my bag file?
I am playing back a bagfile and I get a nullptr when I should be getting actual data. Below is a screenshot of the bagfile being viewed from RQT. There is only one message called...
View ArticleRosbag API and TF transforming tools
I am currently writing some tools in Python to visually judge the quality of the odometry. For this I record a bag with odom topic as well as tf, lidar scans and wheel encoders. Then I loop over the...
View ArticleCompressed camera images from rosbag to matlab
I have a bag file containing lots of sensor messages, including compressed camera images. I would like to use this stream of camera images in MATLAB. I know of two possible approaches: either by...
View ArticleMy rosbag is not showing any messages
Hi all! I am trying to record a rosbag at click of a button on Baxter. At each click, a new bag starts recording with a different file name and the previous one closes. Below is the code trying to...
View Article