Catkin is a CMAKE-based build system used to build ROS packages.
We will be setting up a Catkin Workspace on BOTH the Turtlebot and Master computers using the following steps.
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
catkin_init_workspace
cd ~/catkin_ws
catkin_make
source ~/catkin_ws/devel/setup.sh
cd ~/catkin_ws/src
catkin_create_pkg turtlebot_dabit
cd turtlebot_dabit
mkdir launch
mkdir scripts
mkdir src
Building ROSPY with your Catkin Package
Building ROSCPP with your Catkin Package
catkin_create_pkg turtlebot_dabit roscpp
--directory /path/to/catkin/ws
:
catkin_make --directory ~/catkin_ws
--pkg
argument:
catkin_make --pkg turtlebot_dabit