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

Did you edit your CMakeLists.txt file to add it as an executable? You should have the following in your CMakeLists.txt:

catkin_install_python(PROGRAMS
   teleop_twist_keyboard.py
   DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

Also the suitable dependencies in package.xml
Look at both the CMakeLists.txt and package.xml files from the teleop package that you presented.

Also be more specific on how you added the teleop_twist_keyboard package. You said "I copied the files into the src foldeer in my catkin workspace". Did you clone/copy the whole package or just the files from it? The ROS structure is that you should have packages inside your catkin_ws/src . In your case you should have 2 packages there. One being beginner_tutorials and the other teleop_twist_keyboard. If this is the case, deleting both devel and build folders, then do a catkin_make and source devel/setup.bash

Did you edit your CMakeLists.txt file to add it as an executable? You should have the following in your CMakeLists.txt:

catkin_install_python(PROGRAMS
   teleop_twist_keyboard.py
   DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

Also the suitable dependencies in package.xml
Look at both the CMakeLists.txt and package.xml files from the teleop package that you presented.

Also be more specific on how you added the teleop_twist_keyboard package. You said "I copied the files into the src foldeer in my catkin workspace". Did you clone/copy the whole package or just the files from it? The ROS structure is that you should have packages inside your catkin_ws/src . In your case you should have 2 packages there. One being beginner_tutorials and the other teleop_twist_keyboard. If this is the case, deleting delete both devel and build folders, then do a catkin_make and source devel/setup.bash