ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I am not sure if your code is correct based on this "A Gentle Introduction to ROS" Chapter: Services - e.g. it seems like you don't have a pointer to the function there. Can you rework your code based on these examples?
Overall, there is maybe another approach worth trying:
Maybe this answer and it's gist could help you?
I would try to use the wrapper to non-blocking 'n' service calls of the spawn_turtle_service
.