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

answered 2014-01-28 04:25:59 -0500

joq gravatar image

The recommended solution is to mention your include/ subdirectory to catkin_package():

catkin_package(INCLUDE_DIRS include)

Then, follow standard ROS practice and place all external header files under include/your_package/, and install them this way:

install(DIRECTORY include/${PROJECT_NAME}/
        DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})