Importing a service in python defined by others
I am stuck in something that should be pretty easy... I have a service called "set_odometry", which I can use doing rosservice from the bash. This service is installed from apt-get so I don't have the code for it, I guess it is written in C++ but it shares the .srv file in /opt/kinetic/share/PATH_TO_SERVICE/set_odometry.srv
Now, I want to use it from my python based node. Of course, I can simply do a rosservice call from the script, but I think this is not the way to proceed. I am trying to use it as if it was a service that I defined, this means using rospy.ServiceProxy. However, I can not import the .srv in my python code. I have tried several ways to do
from set_odometry.srv import *
It always answers no module named set_odometry. I have included /opt/kinetic/share/PATH_TO_SERVICE/ in my python path, I have added __init__.py in the folder... nothing has worked so far. I think this should be something easy and standard to do, I mean, using another one's service from my code, but I am unable to do it.
Thanks in advance.