ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
convert a bag file to .csv format, use
$ rostopic echo /topicname -b bagFileName.bag -p > file.csv
Remember to replace topicname with your topic (/tactile). And bagFileName.bag need to be replace with your bag file that you need to convert. And finally file.csv will be your output file. Instead of having .csv you can try .txt also. But for the best practice .csv file is good.