From 5e788d1809ee6bd1efdd29b9629597f538391e58 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 16 Nov 2026 15:54:11 -0500 Subject: [PATCH 1/4] hotfix(docker): pin MAVROS to 2.14.0 in the robot and GCS images (0.20.9) The robot and GCS images install MAVROS unpinned. MAVROS 2.15.0 creates its plugin nodes without the global remaps, so their topics and services move under .../mavros/mavros/*; the public Jazzy apt repository has carried that since the 2026-09-11 sync and now serves 2.16.0. The runtime stage of Dockerfile.robot and Dockerfile.gcs now add the ROS snapshot of 2026-06-18 and pin mavros, mavros-extras, mavros-msgs and libmavconn to 2.14.0-1* and mavlink to 2026.3.3-1* (priority 1001). The snapshot serves these versions for amd64 and arm64. Co-Authored-By: Claude Sonnet 5.5 --- .env | 2 +- docs/release_notes/index.md | 17 +++++++++++++++++ gcs/docker/Dockerfile.gcs | 9 +++++++++ robot/docker/Dockerfile.robot | 10 ++++++++++ 4 files changed, 37 insertions(+), 1 deletion(-) diff --git a/.env b/.env index 070e7f471..85ebfaa06 100644 --- a/.env +++ b/.env @@ -12,7 +12,7 @@ PROJECT_NAME="airstack" # If you've run ./airstack.sh setup, then this will auto-generate from the git commit hash every time a change is made # to a Dockerfile or docker-compose.yaml file. Otherwise this can also be set explicitly to make a release version. # auto-generated from git commit hash -VERSION="0.20.8" +VERSION="0.20.9" # Image-tag discriminator ONLY (appears in the image tag suffix, e.g. ..._robot-x86-64_dev). # No Dockerfile consumes it: "prebuilt" does NOT bake the built ros_ws into the image today — # a real prebuilt (workspace-baked) stage is future work. Keep "dev" (mounted code, built live). diff --git a/docs/release_notes/index.md b/docs/release_notes/index.md index 5fb6e7398..9f2964d10 100644 --- a/docs/release_notes/index.md +++ b/docs/release_notes/index.md @@ -21,6 +21,23 @@ its own notes. --> - Nothing yet. +## 0.20.9 — 2026-11-16 + +- **Fixed: MAVROS is pinned to 2.14.0 in the robot and GCS images.** The images + installed MAVROS unpinned. MAVROS 2.15.0 (tagged 2026-08-08) creates its + plugin nodes with `use_global_arguments(false)`, so they no longer inherit + the process-global namespace remap and every plugin topic and service moves + from `.../interface/mavros/` to `.../interface/mavros/mavros/`. + It reached the public ROS 2 Jazzy apt repository at the 2026-09-11 sync (as + 2.15.1); apt now serves 2.16.0. Images built since about 2026-09-11 therefore + have the moved topics, and nothing in the stack that reads `mavros/state`, + `mavros/set_mode`, `mavros/cmd/arming`, `mavros/setpoint_raw/*` or + `mavros/local_position/odom` finds a publisher or service. The runtime stages + of `Dockerfile.robot` and `Dockerfile.gcs` now add the ROS snapshot of + 2026-06-18 and pin `mavros`, `mavros-extras`, `mavros-msgs` and `libmavconn` + to 2.14.0 and `mavlink` to 2026.3.3. Removing the pin needs the remaps fixed + for 2.15 and later. + ## 0.20.8 — 2026-09-04 - **Docs builds no longer copy AirSim scene binaries.** The `same-dir` diff --git a/gcs/docker/Dockerfile.gcs b/gcs/docker/Dockerfile.gcs index 1320aa769..295fc4dbf 100644 --- a/gcs/docker/Dockerfile.gcs +++ b/gcs/docker/Dockerfile.gcs @@ -2,6 +2,15 @@ FROM osrf/ros:jazzy-desktop-full SHELL ["/bin/bash", "-c"] +# Pin MAVROS to 2.14.0. From 2.15.0 MAVROS creates its plugin nodes without the global remaps, +# so their topics and services move under .../mavros/mavros/. Same snapshot pin as robot/docker/Dockerfile.robot. +RUN curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" \ + -o /usr/share/keyrings/ros-snapshots.asc \ + && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/jazzy/2026-06-18/ubuntu noble main" \ + > /etc/apt/sources.list.d/ros2-snapshot-2026-06-18.list \ + && printf 'Package: ros-jazzy-mavros ros-jazzy-mavros-extras ros-jazzy-mavros-msgs ros-jazzy-libmavconn\nPin: version 2.14.0-1*\nPin-Priority: 1001\n\nPackage: ros-jazzy-mavlink\nPin: version 2026.3.3-1*\nPin-Priority: 1001\n' \ + > /etc/apt/preferences.d/mavros + # Install system dependencies RUN apt-get -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true update && \ apt-get -o APT::Get::AllowUnauthenticated=true install -y \ diff --git a/robot/docker/Dockerfile.robot b/robot/docker/Dockerfile.robot index b904ac301..58e52b863 100644 --- a/robot/docker/Dockerfile.robot +++ b/robot/docker/Dockerfile.robot @@ -251,6 +251,16 @@ RUN python3 -m pip install --no-cache-dir --break-system-packages --ignore-insta "setuptools==79.0.1" \ wheel +# Pin MAVROS to 2.14.0. From 2.15.0 MAVROS creates its plugin nodes without the global remaps, +# so their topics and services move under .../mavros/mavros/. packages.ros.org keeps only the newest +# build; the ROS snapshot of 2026-06-18 serves 2.14.0 for amd64 and arm64. +RUN curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" \ + -o /usr/share/keyrings/ros-snapshots.asc \ + && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/${ROS_DISTRO}/2026-06-18/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" \ + > /etc/apt/sources.list.d/ros2-snapshot-2026-06-18.list \ + && printf 'Package: ros-%s-mavros ros-%s-mavros-extras ros-%s-mavros-msgs ros-%s-libmavconn\nPin: version 2.14.0-1*\nPin-Priority: 1001\n\nPackage: ros-%s-mavlink\nPin: version 2026.3.3-1*\nPin-Priority: 1001\n' \ + "${ROS_DISTRO}" "${ROS_DISTRO}" "${ROS_DISTRO}" "${ROS_DISTRO}" "${ROS_DISTRO}" > /etc/apt/preferences.d/mavros + # Install runtime ROS2 packages. ros-dev-tools pulls in the compile toolchain # (cmake, build-essential) — deliberate, since `bws` builds in-container. # (ros-*-grid-map pulls CGAL in as a transitive dependency where it needs it.) From 8a25cb940f90e73cbf1abeec8d5f30fa966e70d0 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 16 Nov 2026 16:14:03 -0500 Subject: [PATCH 2/4] hotfix(docker): shorten the MAVROS pin to version arguments on the install lines Replace the apt preferences file with explicit version arguments on the existing install lines; keep the ROS snapshot source of 2026-06-18, now with a two-line comment. The release-notes entry is cut to one paragraph. Co-Authored-By: Claude Sonnet 5.5 --- docs/release_notes/index.md | 22 ++++++++-------------- gcs/docker/Dockerfile.gcs | 15 ++++++--------- robot/docker/Dockerfile.robot | 18 +++++++----------- 3 files changed, 21 insertions(+), 34 deletions(-) diff --git a/docs/release_notes/index.md b/docs/release_notes/index.md index 9f2964d10..742276553 100644 --- a/docs/release_notes/index.md +++ b/docs/release_notes/index.md @@ -23,20 +23,14 @@ its own notes. --> ## 0.20.9 — 2026-11-16 -- **Fixed: MAVROS is pinned to 2.14.0 in the robot and GCS images.** The images - installed MAVROS unpinned. MAVROS 2.15.0 (tagged 2026-08-08) creates its - plugin nodes with `use_global_arguments(false)`, so they no longer inherit - the process-global namespace remap and every plugin topic and service moves - from `.../interface/mavros/` to `.../interface/mavros/mavros/`. - It reached the public ROS 2 Jazzy apt repository at the 2026-09-11 sync (as - 2.15.1); apt now serves 2.16.0. Images built since about 2026-09-11 therefore - have the moved topics, and nothing in the stack that reads `mavros/state`, - `mavros/set_mode`, `mavros/cmd/arming`, `mavros/setpoint_raw/*` or - `mavros/local_position/odom` finds a publisher or service. The runtime stages - of `Dockerfile.robot` and `Dockerfile.gcs` now add the ROS snapshot of - 2026-06-18 and pin `mavros`, `mavros-extras`, `mavros-msgs` and `libmavconn` - to 2.14.0 and `mavlink` to 2026.3.3. Removing the pin needs the remaps fixed - for 2.15 and later. +- **MAVROS is pinned to 2.14.0 in the robot and GCS images.** MAVROS 2.15.0 + creates its plugin nodes without the global remaps, so their topics and + services moved from `.../mavros/` to `.../mavros/mavros/`. + The public Jazzy apt repository has carried it since 2026-09-11, so images + built since then lost the topics the stack uses (`mavros/state`, + `mavros/setpoint_raw/*`, `mavros/local_position/odom`, ...). The images now + install `mavros`, `mavros-msgs`, `libmavconn` and `mavlink` from the ROS + snapshot of 2026-06-18. Remove the pin once the remaps are fixed. ## 0.20.8 — 2026-09-04 diff --git a/gcs/docker/Dockerfile.gcs b/gcs/docker/Dockerfile.gcs index 295fc4dbf..3d296d02b 100644 --- a/gcs/docker/Dockerfile.gcs +++ b/gcs/docker/Dockerfile.gcs @@ -2,14 +2,10 @@ FROM osrf/ros:jazzy-desktop-full SHELL ["/bin/bash", "-c"] -# Pin MAVROS to 2.14.0. From 2.15.0 MAVROS creates its plugin nodes without the global remaps, -# so their topics and services move under .../mavros/mavros/. Same snapshot pin as robot/docker/Dockerfile.robot. -RUN curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" \ - -o /usr/share/keyrings/ros-snapshots.asc \ - && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/jazzy/2026-06-18/ubuntu noble main" \ - > /etc/apt/sources.list.d/ros2-snapshot-2026-06-18.list \ - && printf 'Package: ros-jazzy-mavros ros-jazzy-mavros-extras ros-jazzy-mavros-msgs ros-jazzy-libmavconn\nPin: version 2.14.0-1*\nPin-Priority: 1001\n\nPackage: ros-jazzy-mavlink\nPin: version 2026.3.3-1*\nPin-Priority: 1001\n' \ - > /etc/apt/preferences.d/mavros +# Pinned to the ROS snapshot of 2026-06-18: MAVROS 2.15+ moves its topics under mavros/mavros +# (see the 0.20.9 release notes). Unpin once the stack handles that. +RUN curl -sSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" -o /usr/share/keyrings/ros-snapshots.asc \ + && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/jazzy/2026-06-18/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" > /etc/apt/sources.list.d/ros2-snapshot.list # Install system dependencies RUN apt-get -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true update && \ @@ -17,7 +13,8 @@ RUN apt-get -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngrad vim nano emacs wget curl tree sshpass \ iperf3 iftop iputils-ping net-tools htop \ cmake build-essential less jq python3-pip tmux gdb \ - ros-dev-tools ros-jazzy-mavros ros-jazzy-tf2* ros-jazzy-stereo-image-proc \ + ros-dev-tools ros-jazzy-mavros=2.14.0-1* ros-jazzy-tf2* ros-jazzy-stereo-image-proc \ + ros-jazzy-mavros-msgs=2.14.0-1* ros-jazzy-libmavconn=2.14.0-1* ros-jazzy-mavlink=2026.3.3-1* \ ros-jazzy-image-view ros-jazzy-topic-tools ros-jazzy-grid-map \ ros-jazzy-domain-bridge ros-jazzy-ros2cli python3-colcon-common-extensions \ libglib2.0-dev libcgal-dev openssh-server \ diff --git a/robot/docker/Dockerfile.robot b/robot/docker/Dockerfile.robot index 58e52b863..603a1089b 100644 --- a/robot/docker/Dockerfile.robot +++ b/robot/docker/Dockerfile.robot @@ -251,15 +251,10 @@ RUN python3 -m pip install --no-cache-dir --break-system-packages --ignore-insta "setuptools==79.0.1" \ wheel -# Pin MAVROS to 2.14.0. From 2.15.0 MAVROS creates its plugin nodes without the global remaps, -# so their topics and services move under .../mavros/mavros/. packages.ros.org keeps only the newest -# build; the ROS snapshot of 2026-06-18 serves 2.14.0 for amd64 and arm64. -RUN curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" \ - -o /usr/share/keyrings/ros-snapshots.asc \ - && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/${ROS_DISTRO}/2026-06-18/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" \ - > /etc/apt/sources.list.d/ros2-snapshot-2026-06-18.list \ - && printf 'Package: ros-%s-mavros ros-%s-mavros-extras ros-%s-mavros-msgs ros-%s-libmavconn\nPin: version 2.14.0-1*\nPin-Priority: 1001\n\nPackage: ros-%s-mavlink\nPin: version 2026.3.3-1*\nPin-Priority: 1001\n' \ - "${ROS_DISTRO}" "${ROS_DISTRO}" "${ROS_DISTRO}" "${ROS_DISTRO}" "${ROS_DISTRO}" > /etc/apt/preferences.d/mavros +# Pinned to the ROS snapshot of 2026-06-18: MAVROS 2.15+ moves its topics under mavros/mavros +# (see the 0.20.9 release notes). Unpin once the stack handles that. +RUN curl -sSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" -o /usr/share/keyrings/ros-snapshots.asc \ + && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/${ROS_DISTRO}/2026-06-18/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" > /etc/apt/sources.list.d/ros2-snapshot.list # Install runtime ROS2 packages. ros-dev-tools pulls in the compile toolchain # (cmake, build-essential) — deliberate, since `bws` builds in-container. @@ -268,8 +263,9 @@ RUN curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search # own); per-robot Foxglove returns later as an opt-in stack include. RUN apt update -y && apt install -y --no-install-recommends \ ros-dev-tools \ - ros-${ROS_DISTRO}-mavros \ - ros-${ROS_DISTRO}-mavros-extras \ + ros-${ROS_DISTRO}-mavros=2.14.0-1* \ + ros-${ROS_DISTRO}-mavros-extras=2.14.0-1* \ + ros-${ROS_DISTRO}-mavros-msgs=2.14.0-1* ros-${ROS_DISTRO}-libmavconn=2.14.0-1* ros-${ROS_DISTRO}-mavlink=2026.3.3-1* \ ros-${ROS_DISTRO}-tf2* \ ros-${ROS_DISTRO}-stereo-image-proc \ ros-${ROS_DISTRO}-image-view \ From 7187cc609ee823a0db00925e9097633e322790fb Mon Sep 17 00:00:00 2001 From: John Date: Mon, 16 Nov 2026 16:18:08 -0500 Subject: [PATCH 3/4] hotfix(docker): one-line comment on the MAVROS pin Co-Authored-By: Claude Sonnet 5.5 --- gcs/docker/Dockerfile.gcs | 3 +-- robot/docker/Dockerfile.robot | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gcs/docker/Dockerfile.gcs b/gcs/docker/Dockerfile.gcs index 3d296d02b..2f786a9d5 100644 --- a/gcs/docker/Dockerfile.gcs +++ b/gcs/docker/Dockerfile.gcs @@ -2,8 +2,7 @@ FROM osrf/ros:jazzy-desktop-full SHELL ["/bin/bash", "-c"] -# Pinned to the ROS snapshot of 2026-06-18: MAVROS 2.15+ moves its topics under mavros/mavros -# (see the 0.20.9 release notes). Unpin once the stack handles that. +# Pin MAVROS to 2.14 RUN curl -sSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" -o /usr/share/keyrings/ros-snapshots.asc \ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/jazzy/2026-06-18/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" > /etc/apt/sources.list.d/ros2-snapshot.list diff --git a/robot/docker/Dockerfile.robot b/robot/docker/Dockerfile.robot index 603a1089b..2890cb920 100644 --- a/robot/docker/Dockerfile.robot +++ b/robot/docker/Dockerfile.robot @@ -251,8 +251,7 @@ RUN python3 -m pip install --no-cache-dir --break-system-packages --ignore-insta "setuptools==79.0.1" \ wheel -# Pinned to the ROS snapshot of 2026-06-18: MAVROS 2.15+ moves its topics under mavros/mavros -# (see the 0.20.9 release notes). Unpin once the stack handles that. +# Pin MAVROS to 2.14 RUN curl -sSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" -o /usr/share/keyrings/ros-snapshots.asc \ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/${ROS_DISTRO}/2026-06-18/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" > /etc/apt/sources.list.d/ros2-snapshot.list From f93b732f682feeb36bec343dfa0490420099017a Mon Sep 17 00:00:00 2001 From: John Date: Mon, 16 Nov 2026 16:20:27 -0500 Subject: [PATCH 4/4] hotfix(docker): say the comment is for adding the snapshot that pins MAVROS Co-Authored-By: Claude Sonnet 5.5 --- gcs/docker/Dockerfile.gcs | 2 +- robot/docker/Dockerfile.robot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcs/docker/Dockerfile.gcs b/gcs/docker/Dockerfile.gcs index 2f786a9d5..6eeb221f8 100644 --- a/gcs/docker/Dockerfile.gcs +++ b/gcs/docker/Dockerfile.gcs @@ -2,7 +2,7 @@ FROM osrf/ros:jazzy-desktop-full SHELL ["/bin/bash", "-c"] -# Pin MAVROS to 2.14 +# Add the ROS snapshot to pin MAVROS to 2.14 RUN curl -sSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" -o /usr/share/keyrings/ros-snapshots.asc \ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/jazzy/2026-06-18/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" > /etc/apt/sources.list.d/ros2-snapshot.list diff --git a/robot/docker/Dockerfile.robot b/robot/docker/Dockerfile.robot index 2890cb920..a9312bdf5 100644 --- a/robot/docker/Dockerfile.robot +++ b/robot/docker/Dockerfile.robot @@ -251,7 +251,7 @@ RUN python3 -m pip install --no-cache-dir --break-system-packages --ignore-insta "setuptools==79.0.1" \ wheel -# Pin MAVROS to 2.14 +# Add the ROS snapshot to pin MAVROS to 2.14 RUN curl -sSL "https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA" -o /usr/share/keyrings/ros-snapshots.asc \ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-snapshots.asc] http://snapshots.ros.org/${ROS_DISTRO}/2026-06-18/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" > /etc/apt/sources.list.d/ros2-snapshot.list