ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Data collected from ROS

asked 2020-04-03 07:22:28 -0500

jean01 gravatar image

How can we collect the flight data after a ROS simulation and what kind of dataset do we obtain? Can we get the sensor and video dataset with timestamps to be used in analysis?

edit retag flag offensive close merge delete

Comments

I can't answer this (as I'm not into drones), but I would recommend to add quite some more details and information to your question, as right now your question lacks all context. What exactly are you using? Which packages? What tools are you using for simulation?

Or if you're asking this to determine whether you should even (want to) use ROS: please tell people here what it is you're using right now, and what sort of functionality you are looking for.

Without more context I believe the best answers you are going to get will be similar to:

"well, if you use the correct packages and configuration for them, you could do that".

gvdhoorn gravatar image gvdhoorn  ( 2020-04-03 07:30:08 -0500 )edit

Hector, Gazeboo or any other package to be used with drones are all ok. Actually I am new into the ROS and just trying to run it. How does the data collection process happen when I fly a drone for a few minutes? Where can I find the resulting data?

jean01 gravatar image jean01  ( 2020-04-03 07:34:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-04-03 16:14:45 -0500

updated 2020-04-03 16:17:20 -0500

You can record any ROS data you want using rosbag record: http://wiki.ros.org/rosbag/Commandline

Then you can play that data back later. While playing back recorded data, it looks basically like it did originally, so you can use any tools and utilities you want to look at and analyze the playback data. Same as you could do with the live data.

All ROS data has timestamps, I believe. I think you get that for free with ROS. But some sensor plugins might also embed their own special timing information into the streaming data if they feel it necessary.

edit flag offensive delete link more

Comments

Thank you very much. I will try after running the system.

jean01 gravatar image jean01  ( 2020-04-04 14:43:38 -0500 )edit

Thank you Kurt. rosbag record was helpful. This link helped me with recording the data:

http://wiki.ros.org/ROS/Tutorials/Rec...

now I need to reduce the size of data downloaded as it is a huge amount in a short period of time. Should I change the sampling rate of sensors and fps of the cameras or would there be any other way?

jean01 gravatar image jean01  ( 2020-04-09 09:52:49 -0500 )edit

This question can be continued from https://answers.ros.org/question/3489...

jean01 gravatar image jean01  ( 2020-04-09 11:26:09 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-04-03 07:22:28 -0500

Seen: 350 times

Last updated: Apr 03 '20