const declaration in ConstPrt msg

asked 2020-03-21 11:03:28 -0500

thanasis_t gravatar image

Hello,

Since ConstPtr is a typedef of boost::shared_ptr<msg const="">, is there any meaning of the const keyword in the argument of a callback, e.g. void callback (const geometry_msgs::Point::ConstPtr msg)?

Thanks in advance

edit retag flag offensive close merge delete