catkin plugin is useful when building ROS parts.
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
Additionally, this plugin uses the following plugin-specific keywords:
catkin-packages (list of strings)
List of catkin packages to build.
The source space containing Catkin packages.
The ROS distro required by this system.
Whether or not to include roscore with the part.
rosinstall-files (list of strings)
List of rosinstall files to merge while pulling. Paths are relative to the source.
Whether or not to recursively merge/update rosinstall files from fetched sources. Will continue until all rosinstall files have been merged.
catkin-cmake-args (list of strings)
Configure flags to pass onto the cmake invocation from Catkin.
Used to inform Snapcraft that this snap isn’t standalone, and is actually overlaying a workspace from another snap via content sharing.
Made up of two properties:
Build-time path to existing workspace to underlay the one being built, for example
Run-time path of the underlay workspace (e.g. a subdirectory of the content interface’s target attribute.)
The URI to ros master setting the env variable ROS_MASTER_URI.
See The catkin-tools plugin for additional options related to building ROS parts.
For a simple example, see ROS applications, or search GitHub for projects already using the plugin.
ⓘ This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.