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

The problem is that I can't generate any access methods to change them.

ROS messages don't use getters or setters. Instead, all fields are public (in C++ anyway), and you should set them as you would do any other variable (ie: my_msg.a.b.c = 3).