Tutorial 1.16 "ImportError: No module named beginner_tutorials.srv" with Catkin system build
Hi, I started ROS tutorials, using catkin system as a workspace builder. I didn't had any issue until this tutorial examining service and client nodes.
After creating having written my service and client nodes in the previous tutorial, I tried to run them :
$ rosrun beginner_tutorials add_two_ints_server.py
and i get this error :
"Traceback (most recent call last):
File "~/catkin_ws/src/beginner_tutorials/scripts/add_two_ints_server.py", line 4, in <module> from beginner_tutorials.srv import *ImportError: No module named beginner_tutorials.srv"
I searched how to resolve this problem, but i didn't find an answer for catkin system build (for rosbuild, it seems like uncomment #rosbuild_genmsg() and #rosbuild_gensrv() lines on the CMakeLists.txt is enough).
However, there is no comments like that in my CMakeLists.txt (due to the fact I used catkin and not rosbuild). I even tried to rebuild my workspace by erasing devel and build files in my catkin workspace, and rebuild it, but it didn't work.
I could use some help on this if you know how to do it. Thank you !