ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

save and upload data

asked 2016-04-20 09:17:10 -0600

Emilien gravatar image

updated 2016-04-20 10:08:04 -0600

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-20 13:28:10 -0600

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-04-20 09:17:10 -0600

Seen: 99 times

Last updated: Apr 20 '16