ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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.