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

Revision history [back]

If you want it online, you can subscribe to /tf and use the transformation between /map (or whatever you use for the parameter "fixed_frame_name") to the frame of the kinect (/openni_camera or /camera_link). The trajectory file has the following format:

timestamp x-position y-position z-position quaternion-x quaternion-y quaternion-z quaternion-w

The timestamp is the typical unix stamp in seconds, positions are in meter, rotation is a normalized quaternion.

For example:

1305033527.670034 0.002149 -0.002778 0.000684 -0.001445 -0.000679 -0.000384 0.999999