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

your code is finish at ros::spin. the mein is never exited so your Obj Dec is never Free

in the case the spin is for the main an while (true) (simplefied view)

and the stuff is done by your handler functions. whits are called von inside of the ros spin.