Please see tf, the ROS Transform library.
Wiki: Transformations (last edited 2009-08-14 20:53:53 by localhost)