ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.