from testsrv.srv import * [ImportError: No module named testsrv.srv]
Hi. I'm trying to make a ROS service, but I'm getting "ImportError: No module named testsrv.srv".
My code is:
#!/usr/bin/python
# -*- coding : utf-8 -*-
from testsrv.srv import *
I've uncommented into the CMakeLists.txt:
#uncomment if you have defined messages
rosbuild_genmsg()
#uncomment if you have defined services
rosbuild_gensrv()
And part of my directory tree is this: http://pastebin.com/882TacQ2
What is the problem? Why can't I import the srv file?