How to deference the MessageInstance?

asked 2017-11-20 07:53:47 -0500

gaofei gravatar image

hi I have got the share_ptr for the message object instance from the bag, such as the following, perception_msgs::vehicle_info::Ptr p_vehicleInfo = m.instantiate<perception_msgs::vehicle_info>(); But how to deference it to a normal object instance? rather than a pointer?

edit retag flag offensive close merge delete