Package Setup

What is a catkin Package?

For a package to be considered a catkin package it must meet a few requirements:

The simplest possible package might have a structure which looks like this:

my_package/
  CMakeLists.txt
  package.xml

Creating a Package

First you must create a catkin workspace to put the package in. Once you have a workspace you can create the package.

cd ~/catkin_ws/src
catkin_create_pkg <package_name> [depend1] [depend2] [depend3]

For example:

Building a Package

Build entire workspace:

Build single package:

Last updated