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

A bit of a late response, but I had this issue also and did not see the any relevant responses to what worked for me. The following steps resolved my problem:

1) Ensure that your CMakeList.txt is updated. Update the section shown blow in code with your python filename:

catkin_install_python(PROGRAMS script/hwinterface_script_kate.py script/"additional_python_scripts.py"
  DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

Where "script/" is the directory that contains the python file, and the "additional_python_scripts.py" text emphasizes to add additional python scripts that may also be used.

2) Make the python file executable. You do this in the terminal by going to your file directory and using "chmod". Do this for all your python scripts.

cd ~/catkin_ws/src/kate_global/script/  
chmod +x hwinterface_script_kate.py

3) I ran "catkin_make" again, i don't know if this is necessary but it worked for me.

cd ~/catkin_ws
catkin_make