ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The topic_tools package provides a ShapeShifter class which can be used to subscribe to any topic, but the API is still limited to either passing around serialized messages, or message types that are known at compile time.
The relay node from topic_tools provides a simple example of how to publish and subscribe generically: relay.cpp