ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can do that only if you know the type of the messages at compilation time. In that case, you can use the instantiate
method of the class MessageInstance
.