Record with rosbag from launch file
I want to use *rosbag record* in my launch file with the parameters linking to a ros package. Normally, you can get a package path in a launch file by using ${find mypackage}, but this does not work in...
View ArticleROSBAG HECTOR-SLAM
Hi guys, I'm trying to record a hector-slam map with rosbag and then trying to reproduce it. The thing is I really don't know what should I record and how to reproduce it back in the RVIZ like this:...
View ArticleHow to create a map using raw point cloud data?
Hi, I have a raw point cloud data stored in a rosbag file. How can I generate a map from this rosbag file? Also, that raw point cloud data has redundant information. How can I extract only the required...
View ArticleSource for downloading rosbag files
Hey, Can anybody help me with the source from where I could download the rosbag file containing **point cloud data** ? It is very important . Please help!
View Articlelaserscan to pointcloud timestamp issue
Dear all, I want to convert laserscans (sick lms511) to pointcloud2. I have found a topic on how to perform this conversion here :...
View ArticleRosbag Python API: why do messages from a rosbag have mangled __class__?
I find that messages loaded from a rosbag via the Python API, have a weird __class__ attribute: import rosbag from sensor_msgs.msg import PointCloud2 # Round-trip a PointCloud2 message to a rosbag and...
View ArticleAnother question about extrapolation in the past
Hello all, That's a question that has been asked multiple times but none of the solution have worked so far. I'm playing data from a rosbag and when trying to query the tf I have this error: [ERROR]...
View Articlecan't install rosbag package
Ubuntu 16.04 LTS Xenial ROS Kinetic Linux novice, ROS novice. Have a catkin workspace with some packages in it (robot_localization etc). import rosbag gives error import error: no module named rosbag...
View ArticleHow to associate Rosbag time with data
Hello everyone! I have saved some flight data using rosbag record, but the header of my topic /odom doesn't contain the time. When I extract the data using rostopic echo -b foo.bag -p /odom >...
View ArticleHow to change the frame_id from recorded bag files [bag_tools don't work]
Hi to all, I need to change the frame_id of my `imu/data` topic from `/base_imu` to `base_imu`. I'm using Indigo. Unfortunately, I recorded several bag files without removing the slash character now I...
View Articlehow can I record the same number of massages from different topics?
I want to build a database that takes each image with its joy and IMU (angles) data, so I need to receive the same number of messages for each topic to have a synchronized data. I run the below command...
View ArticleMethod for filtering out gps topic in a bag file
Hi everyone, I have recorded a bag file which contains gps topic for using with robot_localization pkg. I want to modify my gps topic to mimic a scenario where gps signal is not available, e.g...
View Articleexclude 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 Articlerosbag doesn't playback at same speed
Hi, I have recorded a rosbag w topics at ~7 Hz. When I use `rosbag play` on those topics, they playback at 2Hz. The `rosbag info` too shows a total time of say 10 secs for instance but on playing it,...
View ArticleHow to display bag file in rviz
Hi all, I am new on ROS and Linux. I am trying to display point cloud using rviz with VLP-16. Before starting to see real time data, I wanted to see how pcap file can be converted into human-readable,...
View Articlehow record rosbag with python
Hello I use the command line (Terminal) to record images (RGB, RGBD), joy, and IMU data>> rosbag record -O subset /camera/depth/image_raw /camera/rgb/image_raw /joy...
View ArticleHow to visualize/read string messages from Rosbag
I have received a bag file from a colleague and i need to analyze it. The file looks like this. ![image description](/upfiles/15223247925442699.png) How can i visualize this in rviz ? What type shoul...
View Articlerosbag with --rate-control-topic and -rate option results segmentation fault
Hi, I am getting segmentation fault while using the rosbag with rate control topic and rate option. Did anybody face the same issue before? rosrun rosbag play --rate-control-topic /topic11...
View ArticleIs there a way to extract rosbag files without using ros packages
While ROS is useful, t's very annoying to install. I'm trying to make an extraction pipeline that is user friendly and can be used across multiple platforms and ros packages just get in the way. All I...
View ArticleRead a msg inside a bagfile
In the rosbag/Code API, we could see the msg by: import rosbag bag = rosbag.Bag('test.bag') for topic, msg, t in bag.read_messages(topics=['chatter', 'numbers']): print msg bag.close() When I try this,...
View Article