Robotics StackExchange | Archived questions

save and upload data

hi, i want to save my data ultrasound sensor and recovere somme data after but i don't know how can i do this. i try with rosbag and i save my data well, but i don't know how i recovere juste somme data to my code. can you help me please?

Asked by Emilien on 2016-04-20 09:17:10 UTC

Comments

Answers

Are you asking how to read a bag file in Python/C++? If so, check out the Code API of rosbag.

Alternatively, you could use something like rostopic echo -b BAGNAME -p TOPICS > output.csvto dump the data to a CSV file that you could then parse in code. See rostopic echo documentation.

Asked by jarvisschultz on 2016-04-20 13:28:10 UTC

Comments