Robotics StackExchange | Archived questions

Using skeleton_markers package for action recognition. Streaming data in csv format

Hi

I am working on implementing action recognition for which I use the skeleton joint information published on the /skeleton topic of the skeleton_markers package. What I did initially was to record the actions using rosbag and then convert the action sequences into csv format using the rostopic echo -p -b command following which I used these sequences for training and testing. I am now looking at ways for doing this in real time for which I need to figure out the following:

1) Is there a way for automating the recording of the bag files and the subsequent conversion to csv format so that this information can be periodically fed into the recognition system ? In other words how can rostopic and rosbag be incorporated into a C++ program ?

2) Is there a way to stream the data being published on the /skeleton topic directly into the C++ program ? And in that case can I have my incoming skeleton joint information in the csv format ?

I have been trying to figure out a way for this for a long time now. Any help or guidance would be appreciated. Thank you so much.

Asked by Uk2011 on 2011-11-29 06:05:33 UTC

Comments

Hi, I know you posted it long time ago, I am now also facing understanding the /skeleton topic. How can I interpret the values? Your help will be really appreciated.

Asked by Tariq on 2013-03-15 18:47:48 UTC

Answers