ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The implementation of the messages are created in runtime by some Proxy "magic". When you receive a message from a topic or a service, an implementation for those interfaces is created, allowing you to access and set it's members.
Damon Kohler explains this (very briefly, without diving too deep) in his talk where he presented Rojava: https://www.youtube.com/watch?v=ATuVExlkirY