ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In short, you should not be referring to that documentation. It's generated based on the generated headers, and discards the message semantics.

The other reason why you can't find any documentation about member functions on the message types is because there are no public member functions; generated C++ types are only classes with public data members, also known as POD types (plain old data).

Instead, you should be referring to the msg API link on the std_msgs wiki page, or the documentation on the page itself. You can infer the generated C++ type name and field types directly from the message generation.