Installing other filesΒΆ

Sometimes your package needs to install additional files, like roslaunch scripts or parameter settings.

In most cases these data are platform-independent, so install them within your package’s share directory:

install(FILES your_data your_parameters

This example installs everything in your launch/ subdirectory:

install(DIRECTORY launch/
        PATTERN ".svn" EXCLUDE)

The PATTERN ".svn" EXCLUDE is only needed if you use a Subversion repository. For other types of repositories, it can be omitted.