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

Publish to topic from file

Hello, I am quite new to ROS. I have a logfile (format: .pcapng) and I want to write a node which receives the logged udp-packets (as a simulation; later, the node should receive these packets from a...

View Article


Unable to open rosbag files in C++

Hello, I am trying to write a node to edit the timestamps in a bag file, using C++. The code I have written is attached below. I have tried to follow the template given in the rosbag C++ API, but I am...

View Article


How to write to a ROS-bag in MATLAB?

Hello all, I am new to using ROS at my university. What I would like to do seems simple: I would like to open a ROS bag in MATLAB, (which I can already do thanks to using...

View Article

Giving a directory to output file in a launcher. for (rosbag record and...

Hi, I have been working by now in ROS by the command line and I have just started to work with launch files. Some nodes I want to run are rosbag (record) and rostopic (echo). I have been finding...

View Article

Improving the speed of ros-python script

The python script that I'm running becomes significantly slower when I try to write images and data using cv2.imwrite(twice-for raw image and segmented images) and numpy.savetxt respectively. The...

View Article


active bag file

when i record a bag file , i need to end the record by myself with ctrl C. this create a bag file with .active. i can't succeed to open it with rxbag.i tried rosbag reindex and that make a copy of that...

View Article

does rosbag guarantee data will be published correctly everytime ?

Assume i have a bag file and run it multiple times. In those times, is the data the same ? ( i mean is there any data lost?)

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


Why is Python rosbag crashing?

I'm trying to read a ROS bag file to convert it's values. I'm using the rosbag Python API. I don't understand why the reading crashes at the end: -0.262920607691 0.447809595374 -0.39638550589...

View Article


Convert a rosbag file to pcl?

I need to convert a 3D file which is now a rosbag file and I want it in a point cloud or any format where I can use the file in a viewing software (i.e. vectorworks). Thanks for the assistance.

View Article

ROS Bag File Point Cloud

Is their a way to open a .bag file in a application such as cloud compare, or mesh lab? I am using a Kinect camera for mapping and I want to be able to view the 3d point cloud map created. Thank you...

View Article

Read rosbag with javascript?

I'd like to use bag files as a generic output data format, but I'd also like to display text and numbers out of the bags in a javascript browser environment. It isn't necessary to handle arrays of...

View Article

Can I play a rosbag to simulate data originally recorded from a remote ros...

I have data recorded into a bag file on my "local" machine that was generated from a remote ros master. When I issue a rosbag play command on the file (which I checked and is ok), nothing happened....

View Article


Is there a way to merge bag files?

I have data across multiple bag files, but I don't care about absolute timestamps, just relative time. I would like to merge the separate bag files into one bag file. For example, if I was recording...

View Article

Ros nodes and losing WIFI connection

We have a mobile device (an Odroid) with a camera that runs a ROS node that publishes the camera data. We interface the device by SSHing into it via its WiFi dongle. We want to record a dataset while...

View Article


segfault when reading rosbag

Hi all, I'm trying to parse a rosbag file. According to the guide here, I wrote something like this: rosbag::Bag bag; std::vector topics; std::cout << "Opening " << filename_ <<...

View Article

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


Does rosbag record --split guarantee data continuity in any way?

I've created a system that records sensor data from a few sensors. I use a python script to call a launchfile with rosbag record on the topics I want. Two of these topics are images from cameras. To...

View Article

read single message from bag-file (c++)

Hi,I'm new to this whole ROS stuff and have a problem which I can't solve on my own. I want to read a single message from a given bag-file using c++11. To do this I read the short tutorial and cookbook...

View Article

rosbag messaged out of order

I am receiving the message shown below: does this mean the the original messages are out of order or is this an issue with the bag file messages on play back. If this is a sync issue can I just...

View Article
Browsing all 475 articles
Browse latest View live


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