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

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_