What is the ConstWorldStatisticsPtr datatype?
I was going through the tutorial on Topics and the souce code gazebo / examples / standalone / listener / listener.cc (https://bitbucket.org/osrf/gazebo/src/8b0c2de0886a61a862036f7e7fe1d4b7b8b4651c/examples/standalone/listener/listener.cc?at=gazebo_1.9).
I got a question on the callback function.
///////////////////////////////////////////////// // Function is called everytime a message is received. void cb(ConstWorldStatisticsPtr &_msg) {
// Dump the message contents to stdout. std::cout << _msg->DebugString(); }
I can see that ConstWorldStatisticsPtr deals with worldstatistics messages. But where can I find documents about this datatype? And if I want to process SonarStamped, what Const Ptr should be used?
I think I've figured this out. Thank everybody for viewing. I will close this question.