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

I Found the problem and each time I compiled the code, it couldn't found the .srv file. when I wanted to import a service file from another package into a python node, I should first write the package name and the folder name inside that. After that, I use the file name for importing. Like:

from dynamixel_controllers.srv import TorqueEnable

dynamixel_controller is the name of the package that I want to import file from that and inside the folder srv there is a file named TorqueEnable.