When I follow the solution to direct call the service /move_bb8_in_circle, it always shows the unknown service. I just copy the code to the python file and I checked there shouldn’t be other problems.
Cheers
When I follow the solution to direct call the service /move_bb8_in_circle, it always shows the unknown service. I just copy the code to the python file and I checked there shouldn’t be other problems.
Cheers
Hi @youngyangcs,
Please check that you have started the service server. When the service server is not running, this is the error that normally shows up.
First you need to create the service server according to the example given in the notebook, and then you start it using roslaunch
.
Thanks for the reply. It works now.
Hi I am also facing this problem and I checked that service server is running. Additionally I can call with it client launch file. What I am missing here
Welcome to the community!
Could please give more details about the specific error you are facing? Share a screenshot or something.
And here is one thing you can quickly check:
source devel/setup.bash
on the terminal where you are tryng to call the new service?Thank you :). I tried source devel/setup.bash before running script but it gives same problem. Here is screenshot robotignite|690x387
@borankecel99 You seem to be calling a non-existent service:
You are calling a service /custom_service_move_bb8_in_circle_server
…
/move_bb8_in_circle
?rosservice list
to see the available services.Thank you so much! I confused how to call service. I were trying to call node name instead of /move_bb8_in_circle. It solves my problem now.