ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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.