The ROS 1 Noetic Extension

This extension helps you snap ROS1 applications for the Noetic Ninjemys distribution.

:information_source: This extension is currently undergoing active development and requires Snapcraft 4.3+. For this reason, it requires --enable-experimental-extensions to be used with snapcraft.

How to use it

Add extensions: [ ros1-noetic ] to the application definition in your snapcraft.yaml file. See for a complete tutorial on how to use this extension.

apps:
  catkin-ros1-run:
    command: opt/ros/noetic/bin/roslaunch listener talk_and_listen.launch
    plugs: [network, network-bind]
    extensions: [ros1-noetic]
    ...

What it does for the build-time environment

  • Adds ROS APT package repository build-time configuration for the snap, installing the necessary GPG key.
  • Adds ros-noetic-catkin to build-packages.

What it does for the run-time environment

  • Initializes runtime environment required by ROS before launching the application, similar to sourcing the typical ROS setup.sh or local_setup.sh.

Further reading

For a complete picture of what this extension does, add it to your app definition and run snapcraft expand-extensions.

:information_source: Snapcraft extensions enable snap developers to easily incorporate a set of common requirements into a snap. See Snapcraft extensions for further details.

Last updated 8 days ago. Help improve this document in the forum.