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

save and upload data

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

Emilien gravatar image

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

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
0

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

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

Question Tools

1 follower

Stats

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

Seen: 238 times

Last updated: Apr 20 '16