ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Yes, float32 messages could be used instead of string.
Just include the std_msgs/msg/float32.hpp
and also keep in mind to update the type of the member variable msg_