1- cd ~/catkin_ws/src 2- catkin_create_pkg <package_name> [depend1] [depend2] [depend3] 3- cd .. 4- catkin_make 5- . ~/catkin_ws/devel/setup.bash
roscd
rospack depends1 beginner_tutorials
rospack depends1 rospy
cd ~/catkin_ws/
catkin_make Ho
- We have to create scripts directory:
mkdir scripts cd scripts
catkin_install_python(PROGRAMS scripts/talker.py DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} )