ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
rosbag has a C++ API that you can use directly in your code: http://wiki.ros.org/rosbag/Code%20API
But I think everything you store will need to be ROS messages. So you'd need to define a ROS message type for your array, e.g. a file called "Foo.msg" which contains "float64[] some_array". Then you need to get catkin to generate code wrappers for that message.