ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

Revision history [back]

Try a = FloatsStamped(), with the trailing parentheses.

As @gvdhoorn points out in a comment: you are assigning to a the type of FloatStamped (ie: the class), not to an instance of it (ie: an object). data is not a field of the class, but of the object.