Service msg NOT working

My created service msg is being shown in the rossrv list, but when I call the service, nothing happens when pressing TAB twice. And if I call it as it is, then :slight_smile:

user:~$ rosservice call /move_bb8_in_circle_custom
the rosdep view is empty: call ‘sudo rosdep init’ and ‘rosdep update’
ERROR: Unable to load type [my_custom_srv_msg_pkg/MyCustomServiceMessage].
Have you typed ‘make’ in [my_custom_srv_msg_pkg]?

I have done the catkin_make and also executed the setup.bash.
Please help me! :slight_smile:

Hi @syedsaadwaqar4,

Thanks for contacting us and welcome to the Community!

Did you run source ~/catkin_ws/devel/setup.bash on the current shell? Perhaps you ran this on the shell where you ran catkin_make and then tried calling the service on another shell?

After creating a new service or message, every shell that references it has to source ~/catkin_ws/devel/setup.bash first otherwise they will be unaware of the new service or message.