Questions tagged [rosbag]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

Empty frame_id in `geometry_msgs/PoseStamped`

I am working on a problem where rosbag files are the benchmarking datasets provided by an external research group. I would like to visualize the 6-DoF pose of the robot which is in the bag. ...
user avatar
0 votes
1 answer
67 views

Get timestamp of current message starting from zero in rospy

I seem to have a misunderstanding regarding time in ros, especially sim-time. Aim I process a rosbag that contains many pointcloud2s and want to transform the timestamps of the incoming pointcloud to ...
user avatar
0 votes
1 answer
31 views

stopping rosbag record from script

I have a python subprocess that starts recording a topic through rosbag: ...
user avatar
0 votes
1 answer
9 views

How to create a rosbag file with messages with an header

Hi, As I wrote on the title I'm trying to create a rosbag file from another one changing message types and using only some topics from the original one. The problem is, when I play the new rosbag the ...
user avatar
0 votes
1 answer
5 views

Rosbag migration: merging messages

I have two message types being published on two different topics (pretty much synchronously), and I'm merging them into a single message--basically, adding one as a subtype of the other. I'd like to ...
user avatar
0 votes
2 answers
11 views

Utility to Record Sensor Data after Safety Event

During robot operations there may be a safety event that interrupts the process and should be documented. The prior 10-20 seconds of sensor data (lidar, odom, vision) would be good documentation about ...
user avatar
0 votes
1 answer
5 views

specify rosbag save path in launchfile

Hey, I'm trying to specify the path to which my rosbag files will be written to. The call to launch the datalogging is happening in the launch file. The issue I'm having is I want it to be repeatable ...
user avatar
0 votes
1 answer
12 views

What is the functionality of --pause flag in rosbag play cmd?

I came across an application where --pause flag argument was used in rosbag play cmd . I checked the wiki it says it starts the ros bag in paused mode . I was wondering what passed mode means. ...
user avatar
0 votes
1 answer
41 views

Export .bag to .jpeg / .mp4 tutorial not outputting anything

I am trying to convert a .bag file to .mp4 by following this tutorial: How to export image and video data from a bag file I did the following steps: Ran: ...
user avatar
0 votes
1 answer
8 views

Able to subscribe to topic but no output

Hello everyone, I have a very weird problem while subscribing to a topic. I have a bagfile containing this specific topic : ...
user avatar
0 votes
1 answer
2 views

Where i should install a bag?

Hi everybody. I downloaded a bag from this site https://wiki.ros.org/slam_gmapping/Tutorials/MappingFromLoggedData?action=AttachFile&do=view&target=basic_localization_stage.bag, but i don't ...
user avatar
0 votes
1 answer
54 views

Rosbag file location

Hello, I would like to know where are rosbags saved to access them through my file explorer (if that is possible). Thank you! Originally posted by MrRivi on ROS Answers with karma: 38 on 2020-08-21 ...
user avatar
0 votes
1 answer
27 views

Remap inside a launch file vs remapping during rosbag play

Hi All, Goal (more of getting to know tutorial): Trying to run this particular code http://wiki.ros.org/image_pipeline/Tutorials/Simple%20image%20processor on an image from a rosbag. Instead of ...
user avatar
0 votes
1 answer
36 views

How can I convert the KITTI dataset into a bag file?

Hi, I want to convert the monocular KITTI image dataset and poses into a bag file to test computer vision algorithms. I have done some research, however, I have not found any reliable solution. ...
user avatar
0 votes
1 answer
366 views

Converting ROS2 bag to ROS1 bag?

Is there an existing tool to convert rosbags generated with ROS2 (dashing) to ROS1 format rosbags? Originally posted by mandymandymandy on ROS Answers with karma: 11 on 2020-05-16 Post score: 1 ...
user avatar
0 votes
1 answer
5 views

Bag file recorded from ROS node

Hello. I have a simple question about if its possible to record topics from within a rosnode. The goal is to autonomously have a robot collecting data for a period of time given specific locations of ...
user avatar
0 votes
1 answer
1 view

Compiling rosbag C++11 APi with just make: error "DSO missing"

File read.cc contains the rosbag C++11, non-boost, API example for reading a rosbag, enclosed inside main(){...}. Following lines are in file m: ...
user avatar
0 votes
1 answer
4 views

Autoware ROSBAG Demo no points_map

Hello, my problem is that I do not get the expected output if I follow the instructions for the rosbag demo (link), namely no /points_map is published by ...
user avatar
0 votes
1 answer
113 views

gmapping Detected jump back in time of. Clearing TF buffer

Hi everyone I am running gmapping with my own bag (in which I drive turtlebot with turtlebot_telop node, drive the robot go around the simulation environment.) Then I start roscore, set use_sim_time ...
user avatar
0 votes
1 answer
11 views

Launching a rosbag record node on a remote machine

I'm trying to launch a rosbag record node on a remote machine. The reason why I'm trying to do this, is because I want to have a synchronous recording of topics on two different machines. I am aware, ...
user avatar
0 votes
1 answer
82 views

Install of the rospy/rosbag python libraries standalone not on Ubuntu

I want to be able to parse out bag files. I don't need to produce or change the bag files just read and parse them so I can use the data downstream in a couple of different systems/formats. Using ...
user avatar
0 votes
1 answer
19 views

how to print ros1 bag data output on ros2

Hi, How can I print the output of ros1.bag file in ros2… while I use below command to play data of ros1 in ros2 ros2 bag play -s rosbag_v2 "path-to-ros.bag-file" I see it is running/...
user avatar
0 votes
1 answer
42 views

Writing tf messages to bag using rosbag Python API

I have some simulated images and camera poses, which I would like to write to a bag using the Python rosbag API. I have successfully written the images and I am now trying to write the poses to the /...
user avatar
0 votes
1 answer
8 views

[ROS2][bag]not record rotation data

I am following the tutorial for using ros2 bag I used command ros2 bag record -o test /turtle1/cmd_vel /turtle1/pose to record the data. I draw a cycle by pressing ...
user avatar
0 votes
1 answer
2 views

rosbag::MessageInstance derefenced pointer error

I am trying to follow this sample code to pull data from a bag file but am running into a bug that I cannot figure out. Hopefully this is the right forum to ask this in. The c++ api specially "...
user avatar
0 votes
1 answer
35 views

How to read rosparam in a launch file

I am aiming to write a bag recording launch script for two same robots with different storage configuration, hence the stored location for the robots will be different. The robots name are in ...
user avatar
0 votes
1 answer
5 views

Are there more frames in compressed BAG files?

I am following the same process to measure how many frames I supposedly have lost during recording with an Intel RealSense D435 camera as outlined here: https://answers.ros.org/question/332910/frames-...
user avatar
0 votes
1 answer
4 views

Hide topics for "internal use" in nodelet pipeline from external subscribers?

I am considering to set up nodelet-based processing pipeline for pointclouds, including the nodelet-based filters described here http://wiki.ros.org/pcl_ros/Tutorials/filters In order to record log ...
moooeeeep's user avatar
  • 154
0 votes
1 answer
48 views

bag file and tf transformation

HI, I recorded a bag file of my robot and this bag file contains all the topics. From this data I need to transform messages from laser-scanner to odom frame using the time stamp when the bag created. ...
user avatar
0 votes
1 answer
5 views

Grep rosbag for the time a particular message was published?

If I have a huge rosbag of which I only wish to examine the time at which a particular message was published to a particular topic, how would I do that? Currently, I have to play through the entire ...
Rufus's user avatar
  • 466
0 votes
1 answer
24 views

Problems in extracting images from bag file

Hi, I'm a newbie to ROS (and Linux too) so probably this is the most stupid question ever, but I swear I have followed the first tutorials on the wiki and I'm starting to learn little by little. I ...
user avatar
0 votes
1 answer
16 views

rosbag Python API not reading messages

Hi I'm trying to read several topics using the rosbag Python API. However, I'm getting no message back at all. I can call ...
user avatar
0 votes
2 answers
7 views

Unable to show depth cloud with compressed RGB

Hi I'm having some trouble showing a depth cloud using /camera/rgb/image_raw/compressed as the colour topic. It just doesn't show in rviz: However, ...
user avatar
0 votes
1 answer
4 views

Frames dropped during video recording?

I have done several recordings using the Intel® RealSense™ Depth Camera D435 (https://www.intelrealsense.com/depth-camera-d435/). I checked the BAG files using ...
user avatar
0 votes
1 answer
1 view

How to get number of frames?

I used a Intel® RealSense™ Depth Camera D435 to record several videos. I am very new to ROSBAG. I am using rs-convert to extract PNG frames from a .bag file. However, I noticed that frames have been ...
user avatar
0 votes
1 answer
2 views

Process died whilst exporting bag to jpeg

Hi I'm trying to export a bag file to jpegs by running: roslaunch export.launch where export.launch: ...
user avatar
0 votes
1 answer
54 views

Unable to visualise point cloud from rosbag file in RViz

I have a .bag file which should contain point cloud and RGBD images. However, I'm unable to visualise them in RViz whilst playing the ...
user avatar
0 votes
1 answer
23 views

How to generate <sensor_msgs::PointCloud2> format bagfile

Hi, I have some pcap files that were collected in velodyne VLP16, how do I convert this pcap file to a bagfile in the sensor_msgs::pointcloud2 format ? I've tried it ...
user avatar
0 votes
1 answer
18 views

The problem about the double messages read from a rosbag file

I want to write the time stamps of rosbag in a .txt document. There, I use two kinds of methods to do that: Reference of C++ API link text. Use the callback fuction to subscribe the topics from the ...
user avatar
0 votes
1 answer
3 views

rtabmap_ros kitti2rosbag using orb_slam2 as Odometry

I successfuly run rtabmap_ros by rosbag created from kitti2rosbag .Thanks to Mathieu ! But now , when i try to us orb_slam2 as Odometry , i got a lot problems. I also successfully compiled RTAB-Map ...
user avatar
0 votes
1 answer
4 views

How to deal with the bug:‘Bag’ is not a member of ‘ros’?

Backgrounds: I am learning how to write/read a rosbag with C++ and I refer the Code API (see: link text). I create a rospackage and do some coding in Ubuntu 16.04 LTS and ROS Kinetic. But I meet some ...
user avatar
0 votes
1 answer
21 views

rosbag record is not recording topic at the same frequency that the topic is being published?

I have a very simple package with one only one node. This node reads data from an MC DAQ and publishes data to the topic /MC_AI. The node is working as intended, and using ...
user avatar
0 votes
1 answer
6 views

Rosbag filter memory error

Hi, My hardware: Intel NUC8i7BEHI, with 16Gb or RAM and a SSD. My software: ROS1 Kinetic Desktop-Full, Ubuntu 16.04.6 Xenial, Python 2.7.12. I am getting the following error while I try to filter a ...
user avatar
0 votes
1 answer
17 views

kitti rosbag rtabmap_ros

i download kitti kitti_2011_09_26_drive_0001_synced and use kitti2bag python make it become kitti_2011_09_26_drive_0001_synced.bag In ORBslam2 ,it works well. So i try to us rtabmap_ros my roslanuch: <...
user avatar
0 votes
1 answer
1 view

RViz show /cloud in xx.bag with outside /tf

Hi, I want to display the /cloud in a bag file with an outside /tf topic. The frame_id of the cloud message is "laser". /tf describes a rotation of "laser" around the y axis of &...
user avatar
0 votes
2 answers
104 views

question about ros2 bag play

I am tried to use ros2 bag record to save the information of camera topic, but how to use ros2 bag play to loop play the package. Originally posted by RachelRen on ROS Answers with karma: 11 on 2019-...
user avatar
0 votes
1 answer
14 views

Get tf transform AFTER publishing node has died

see original version below Hey there, I still struggle to get tf transforms out of ros for successive runs of a pygmooptimization problem. At least it does not ...
user avatar
0 votes
1 answer
10 views

Play a bag with a step

Hello, I want to play a Bagfile, but only advertise one message and skip the 2 following.. and there we go.. anyway to do this ? Thanks Originally posted by hachbani on ROS Answers with karma: 13 on ...
user avatar
0 votes
1 answer
16 views

Possible to record a specific time window (from T1 to T2) of a rosbag?

Hello, I am trying to understand if it is possible to record only a specific time window (from Time T1 to time T2) in a rosbag. The reason for this is that I need ...
user avatar
0 votes
1 answer
47 views

convert multiple .pcd files into one PCD file

Hello everyone, whenever I try to convert .bag file using the following command: rosrun pcl_ros bag_to_pcd input_file.bag topic output_directory to pcd file, I am getting multiple pcd files. How can I ...
user avatar

1
2
3 4 5
11