roscpp template programming: get statically the Stamped message type
I would like to know if there is some method or trait class in (roscpp or another library) which allows getting the "associated stamped type" of a Type T. For instance
StampedType<pose>::type <- should be StampedPose StampedType<twist>::type <- should be StampedTwist
If it does not exist, IMO it should. Its a very interesting method to do generic programming in ROS.
BTW I've also missed message inheritance in ROS (but this is another issue where a lot of discussion it is possible)