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

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 Article


Playback issues with large rosbag files

Hi, I'm running into issues playing back large rosbag files (> 1GB, they are bags generated of the KITTI dataset using this tool https://github.com/tomas789/kitti2bag for those that are interested)....

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

Display messages from rosbag

Hey, I want to display the data in some messages from different rosbags. I don know what kind of messages each rosbag has but I want to be able to check that. And then be able to choose which message...

View Article

Best way to add a topic to an existing rosbag?

What would be the best way to add a topic to an existing rosbag? Play the bag and publish the topic while doing a rosbag record -a? Thanks!

View Article


No matching constructor for rosbag::View

Hi guys, I am trying to follow the rosbag API guideline to create a rosbag viewer as follows: > rosbag::View view(myBag, rosbag::TopicQuery("velodyne_points")); but I am getting a "No matching...

View Article

how to play bag files from c++ or python class

At the moment I'm reading bag files and publishing back the results: bag = rosbag.Bag('2017-09-04-16-11-56.bag') rospy.init_node('talker', anonymous=True) rate = rospy.Rate(0.5) # Not sure what this...

View Article

How to Detect Subscriber Drops a Message

I made a subscriber which reads LIDAR data from rosbag-play. I use C++(roscpp). But when I do rosbag-play with normal speed, subscriber's callback function cannot catch up with LIDAR stream speed, then...

View Article


TF_OLD_DATA ignoring data from the past for frame base_footprint

I am new in working with Turtlebot 3 and ROS. I am working with TurtleBot 3-Burger (Rasberry Pi 3) and ROS Kinetic. I have a lunch file to lunch all my necessary nodes. When I run the lunch file in the...

View Article


Extract robot position from rosbag

I recorded tf-messages (while driving the robot) into a bagfile and wrote a ros node that should extract the positions (base_link-frame) from that bag file. My idea was to use a tf::Transformer and...

View Article

using tf data from bag files

I'm wondering if there is a good way to get transforms (rotation and translation) from tf data recorded in bag files. I'm working in python and I don't want to replay the bag file as part of the...

View Article

How to remove a TF from a ROS bag?

I have a bag that contains a large TF tree where one TF (base_link->virtual_cam) was calculated based on several TFs and parameters. I would like to replay this bag without this generated TF in...

View Article

Rosbag python timestamp read

Hello guys , I have the following function: import rospy, time import rosbag def test_function(self, topics_dict, start, stop): bag = rosbag.Bag('test.bag') topic_msg_list = [] startTime =...

View Article


rosbag how to slow rate

I would like to slow the rate for rosbag file. I tried the following but does not seem to work. Any idea how to do this? rosbag play --rate .5 rgbd_dataset_freiburg1_xyz.bag

View Article

rosbag reindex / fix result in empty bag file.

Hi to all, I'm facing with a problem in recovering one bag file marked as `*.active`. I have tried to execute the sequence reindex / fix, none of them fails, but the resulting `.bag` file is empty. Can...

View Article


How to use PCL Kinfu with a rosbag

Hi, I have a rosbag file recorded on a R400 camera (not Kinect) and I want to use PCL Kinfu to generate 3D reconstruction from the recording. Do I need to convert the rosbag file to a Kinect stream?...

View Article

create rosbag from image file for stereoimages

hi all, i have a file that content's is left and right images that take from two usb cameras. i want create rosbag from this file for publish stereo images with topics: left/image_raw...

View Article


Import error catkin_pkg while importing rosbag, roslib and rospy

I am novice to ROS and I followed the ROS installation tutorial to install ROS kinetic. After installing, I open python to import rospy, roslib and rosbag, but it throws the following error:> import...

View Article

Issue to export images from rosbag file

I'm recording images from /camera/image_raw to rosbag file but when I want to extract them I get gray images with little squares like a grid on them: ![image...

View Article

Does rosbag c++ api write to memory or disk?

I am writing a ROS node that triggers rosbags using a service. I am trying to decide between using rosbag c++ api vs running rosbag record command using command line from my c++ code. It is required...

View Article
Browsing all 475 articles
Browse latest View live