Use ROS within your app
Ensure ROS is available
Use a ROS based runtime (either one of our provided or your custom image/Dockerfile).
1[runtime]
2runs_on.type = "hub-os_ros2_galactic"toml
Other options include hub-os_ros2_foxy and hub-os_ros2_humble.
ROS2
Modify robotapp.toml and to your runtime section, add the following.
1[runtime]
2pre_launch = "source \"/opt/ros/$ROS_DISTRO/setup.bash\" --"