ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Fixed it:
My pointer points to an object which was created in the first service call. Against my expectation declaring a pointer to that object does not prevent the object from destruction at the end of the function.
With the object being destroyed the pointer apparently points to some empty memory space and cannot access the methods anymore.
Instanciating object and pointer adress in the main loop solved the issue.