ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Just don't instantiate the message but write the message instance itself. It should implement the Message C++ interface, i.e. provide all required traits so it should be no problem to write it directly. The MessageInstance also provides information about the topic, MD5 sum and message definition.