ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You might need to upgrade to a newer ROS version. This ticket says that copy constructors have been available for a while.
Anyway, ROS C++ message classes are auto-generated from *.msg files. See the genmsg package. The generator can't insert convenience functions to convert to and from related message types because it doesn't know what's related and what's not. You'd have to write that yourself.