ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You should only encounter the problem if you create the pointer before calling ros::init(). The shared pointer itself should not create any TransformListener on its own.
So, the new
to be put in the shared_ptr needs to come after ros::init.