in exercise 6.3 I have to import a custom service message I made in order to use it
the command I am using is:
from my_custom_srv_msg_pkg.srv import custom_service_message, custom_service_messageResponse
and when I try to launch the file I am getting the following error:
ModuleNotFoundError: No module named ‘my_custom_srv_msg_pkg’
what can I do to fix this?
Hi @DaniFael, welcome to the community!
There are many things that could be going on here.
First, make sure that you spelled the name of you package and messages correctly. Then, you can compile again and then source your workspace:
cd ~/catkin_make
rm -rf build/ devel/
catkin_make
source devel/setup.bash
rospack profile
This topic was automatically closed after 46 hours. New replies are no longer allowed.