Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing all 475 articles
Browse latest View live

Rosbag Record in Launch File to run_id Log location

Hi, i m just trying to record a .bag for one Topic in a ros .launch File to the log folder of the run_id. to record is no problem but i want that it ll be recorded directly to the folder where it also...

View Article


Viewing sensor_msgs/Image while using rosbag API

I'm using the rosbag API to sequentially process messages in a bag file. Some of these messages are images (of the type `sensor_msgs/Image`). Is there an image viewing package that has an API that...

View Article


Error: "Unable to convert 32FC1 image to bgr8" while extracting rbg(d?) data...

I'm trying to extract messages of the "/camera/depth_registered/image_rect" topic from my bag: [ankur@eng050194 20130405]$ rosbag info 20130405_navtest_0.bag path: 20130405_navtest_0.bag version: 2.0...

View Article

TF_OLD_DATA ignoring data from the past for frame openni_depth_optical_frame

Hi, I need to play my bagfile with the -l loop parameter. However after the time is reset, I get a lot of these errors: Warning: TF_OLD_DATA ignoring data from the past for frame...

View Article

Renaming a topic inside a bag file

When we record a bag file for example X.bag and it contains the topic data /a_topic Is there any way to rename the topics name inside the X.bag /a_topic to /b_topic? Best regards..

View Article


How to extract timestamp from a bag file ?

Hi, I checked on the API c++ but I wasn't able to do what I want. Actually, I would like to write a little program which take an input a bag file and then obtain the the timestamp of each frame as an...

View Article

converting serial time from bag file in matlab

I recorded a bag file and then I used a ros package to read the data in matlab. the time datta are saved in serial number and I didnt knew how to convert it to real time or into informative time. How...

View Article

Converting 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 Article


Exception thrown while processing service call: Time is out of dual 32-bit range

I am doing a very simple implementation of ROS service. There are two nodes, server and client node and the only main variable is that I am using rosbags for streaming data used by callback method on...

View Article


start and stop rosbag within a python script

Hi, I wrote an Action Server which gets all topics I want to record via the goal. Everything works fine until i want to stop rosbag. With my script i can start rosbag out of my script and i can see the...

View Article

How to read the names of recorded topics in a rosbag?

Hello, I know there is a rosbag C++ API, but I don't seem to find in it a simple function which returns for example an std::vector of std::strings specifying the names of the topics recorded in that...

View Article

rosbag info in C++

I need to get the names of all the topics in a rosbag in C++ (that is using something like rosbag API). The rosbag [cookbook](http://www.ros.org/wiki/rosbag/Cookbook) mentions how to get information...

View Article

How to pass an argument to roslaunch file from shell script?

I have a shell script that takes some input from the user in the form of arguments and executes a launch file with some nodes. One of these nodes is a `rosbag record`. Currently, I have hardcoded the...

View Article


Problem with rosbag and rviz using laser scanner data

Hi guys, I’m trying to use rviz to read this laser scanner sampled data (http://classes.engineering.wustl.edu/cse550/data/Mapping1.bag) , using rosbag play. I add a display that reads the /base_scan...

View Article

what makes rosbag to start playing fast?

When you start robag play with huge bag files or a lot of bag files for the first call usually is takes some time until rosbag actually starts publishing. For repeative calls then it starts publishing...

View Article


How to use lsd_slam using png files not bag file?

I use fuerte and ubuntu 12.04. I install lsd_slam code and try to run it. Firstly, I run below command : fuerte_workspace$ roscore fuerte_workspace$ rosrun lsd_slam_viewer viewer fuerte_workspace$...

View Article

how bagfile avoid to be rewritten

When I try to use bag file to store data, I find the bag file only store the data that I write last time. Last time means the last time to open the bag file and write data. Anybody knows how to add...

View Article


unable 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 Article

roslaunch not working

http://wiki.ros.org/rosbag/Tutorials/Exporting%20image%20and%20video%20data I am following this tutorial to export images from a bag file. in `src` in catkin workspace, I created a new package...

View Article

Extract 60 fps image from bag file

I have a bag file with a 60 fps camera image stream. I want to extract all the image frames. However, even if I specified _sec_per_frame to a very small value, I still got very low fps image files:...

View Article
Browsing all 475 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>