ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
My recommendation would be to write a function which does the conversion for you for each data type. You can do tricks and overload operators but that usually ends up with less readable code.