ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Since you have included #include "std_msgs/Float32.h"
, you should use std_msgs::Float32 data[3]
instead of float32 data[3]