0
$\begingroup$

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?

$\endgroup$
1

1 Answer 1

3
$\begingroup$

As Ben noticed, you may want to elaborate on your question, but in general data collection in ROS is performed using tools from the rosbag package.

As you'll find when you read the documentation, data (either from a simulation or the real world) can be recorded during a session, but not after it has already finished.

Recorded data can be replayed or extracted for analysis on various ways. In particular I recommend you check the API for programmatic manipulation of rosbag files, it includes many useful features, such as recovering message record times (which is very convenient for messages that don't already include a timestamp field).

$\endgroup$
1
  • $\begingroup$ Thank you Xperroni. I will try the rosbag package as soon as I can implement the sensors to my robot. All I want is to collect some data while the drone flies to be used for my data science thesis. Accelenometer, gyroscope, camera, sonar, lidar and radar datas can be useful. $\endgroup$
    – Jean
    Apr 8, 2020 at 19:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.