ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
A ConstPtr
is a pointer that points to a constant object. In this case, the message itself (std_msgs::String
object) is constant. In general, you wouldn't want to change the message's data, just calculate other quantities based on it.