ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For anyone else who has this same problem and finds this question first as I did, the answer was discovered here: http://answers.ros.org/question/173507/cannot-import-custom-service/

Basically, python gets confused if your script has the same name as the package and so it can't find the service import. If you rename your script, also be sure to delete the leftover .pyc file from the old name. Hopefully this will save someone the 15 min it took me to discover this.