Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
714a49e
humble: rosdistro sync 2026-11-23
Tobias-Fischer Nov 25, 2026
ba8c132
Merge remote-tracking branch 'origin/main' into pr255-humble-sync
Tobias-Fischer Nov 26, 2026
f8e4fd2
humble: refresh patches for the 2026-11-23 sync
Tobias-Fischer Nov 26, 2026
61b2274
humble: conda-forge-pinning 2026.11.26.00.52.20 (as in #165)
Tobias-Fischer Nov 26, 2026
bd384e8
Merge remote-tracking branch 'origin/main' into pr255-humble-sync
Tobias-Fischer Nov 26, 2026
e4410c4
CI: pick the Windows runner from each distribution's pinned compiler
Tobias-Fischer Nov 26, 2026
6570257
CI: show the CMake configure logs of a failed Windows build
Tobias-Fischer Nov 26, 2026
bf96a2d
CI: turn off MSBuild file tracking for Windows builds
Tobias-Fischer Nov 26, 2026
c3e076b
CI: probe the folders MSBuild's file tracker reads in a failed Window…
Tobias-Fischer Nov 26, 2026
ac8cd01
Windows builds: rattler-build's conda-build environment isolation
Tobias-Fischer Nov 26, 2026
d68eb25
libpointmatcher: build the bundled gtest only with the tests
Tobias-Fischer Nov 26, 2026
58cea08
humble: use conda-forge librealsense 2.59 for librealsense2
Tobias-Fischer Nov 26, 2026
05e9386
behaviortree_cpp: `.template cast<T>()` in convertFromJSON<T>
Tobias-Fischer Nov 27, 2026
4cd3681
mrpt_libros_bridge: pass an explicit Header in camera_info_unittest
Tobias-Fischer Nov 27, 2026
fdce25e
humble: ffmpeg 9.0 on macOS, which still works with qt-main 5.15
Tobias-Fischer Nov 27, 2026
4b56d4e
microstrain_inertial_driver (win): std::this_thread::sleep_for instea…
Tobias-Fischer Nov 27, 2026
5e11bba
microstrain_inertial_driver (win): replace the other three sleep(1) c…
Tobias-Fischer Nov 27, 2026
dc23bdb
mocap4r2_robot_gt (win): _USE_MATH_DEFINES for M_PI
Tobias-Fischer Nov 27, 2026
33d34ba
plotjuggler (win): stdext checked-iterator shim for Qt 5 with the VS …
Tobias-Fischer Nov 27, 2026
9a69682
humble: onnxruntime-cpp 1.22.2 on osx-64, the last version conda-forg…
Tobias-Fischer Nov 27, 2026
b255c14
Merge main (#260) into the humble sync
Tobias-Fischer Nov 29, 2026
5877a33
Merge main (#244, Qt 6 for humble/jazzy) into the humble sync
Tobias-Fischer Dec 2, 2026
8f42e73
humble: reset evict_cache before merging
Tobias-Fischer Dec 2, 2026
8a75c09
Merge main (#268) into humble rosdistro sync
Tobias-Fischer Dec 4, 2026
b81bb42
humble: VS 2022 on Windows, plain ffmpeg 9, build number 29
Tobias-Fischer Dec 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
281 changes: 167 additions & 114 deletions distros/humble/conda_build_config.yaml

Large diffs are not rendered by default.

30 changes: 29 additions & 1 deletion distros/humble/distro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@
channel_name: robostack-humble
upload_to: [anaconda]
read_from: anaconda
# Ahead of shared/pinning/conda_forge.yaml (#165) with this full rebuild; drop both
# once the shared pinning has moved to this version.
conda_forge_pinning_version: 2026.11.26.00.52.20
conda_forge_migrations:
- elfutils0196
- go_macos
- gsl28
- gstreamer128
- hdf52
- libboost190
- libhwloc2150
- urdfdom6
pinning_overrides:
# wxwidgets >= 3.3.2 (and the newest 3.3.1 builds) need gst-plugins-base 1.28 on Linux,
# which no qt-main 5.15 accepts; keeps wxWidgets users (mrpt_gui) installable next to the
Expand All @@ -14,4 +26,20 @@ pinning_overrides:
# xsimd (14), which no xtensor >= 0.25 accepts, and falls back to xtensor 0.23.9, whose
# xtensor_simd.hpp doesn't build with it. 0.25 brings a matching xsimd (as in jazzy).
xtensor: [0.25.0]
rosdistro_sync: humble/2026-11-16
# the newest onnxruntime-cpp (1.32) needs libabseil 20260817, which the pinning hasn't
# migrated to yet; 1.31.1 has builds for the pinned 20260526. conda-forge stopped building
# osx-64 after 1.22.2 (what the published osx-64 onnxruntime_vendor already uses).
onnxruntime_cpp:
- 1.22.2 # [osx and x86_64]
- 1.31.1 # [not (osx and x86_64)]
# stay on Visual Studio 2022: this pinning's `vs` without a Windows compiler version
# (shared/pinning/overrides.yaml) picks VS 2026
c_compiler:
- gcc # [linux]
- clang # [osx]
- vs2022 # [win]
cxx_compiler:
- gxx # [linux]
- clangxx # [osx]
- vs2022 # [win]
rosdistro_sync: humble/2026-11-23
12 changes: 12 additions & 0 deletions distros/humble/patch/ros2-behaviortree-cpp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/include/behaviortree_cpp/basic_types.h b/include/behaviortree_cpp/basic_types.h
--- a/include/behaviortree_cpp/basic_types.h
+++ b/include/behaviortree_cpp/basic_types.h
@@ -103,7 +103,8 @@ template <typename T>
[[nodiscard]] inline T convertFromJSON(StringView str)
{
- return convertFromJSON(str, typeid(T)).cast<T>();
+ // RoboStack: MSVC 19.5x warns C4864 without `template` (an error with the project's /WX)
+ return convertFromJSON(str, typeid(T)).template cast<T>();
}

/**
18 changes: 18 additions & 0 deletions distros/humble/patch/ros2-libpointmatcher.patch
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,21 @@ diff -ruN a/pointmatcher/IO.cpp b/pointmatcher/IO.cpp
if (boost::iequals(ext, ".vtk"))
return PointMatcherIO<T>::saveVTK(*this, fileName, binary);

diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
--- a/contrib/CMakeLists.txt
+++ b/contrib/CMakeLists.txt
@@ -1,8 +1,11 @@
# External libraries packed with libpointmatcher

-# GTest
-include_directories(${CMAKE_CURRENT_SOURCE_DIR})
-add_library(gtest gtest/gtest-all.cc)
+# GTest: only for the tests (RoboStack: this old copy uses std::tr1, which MSVC 19.5x
+# no longer has)
+if(BUILD_TESTS)
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+ add_library(gtest gtest/gtest-all.cc)
+endif()

# Wrapped yaml-cpp
if(NOT USE_SYSTEM_YAML_CPP)
4 changes: 2 additions & 2 deletions distros/humble/patch/ros2-libyaml-vendor.patch
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ index 05f5ff1..41adbdf 100644
-set(extra_test_dependencies libyaml-0.2.5)
+# Skip building yaml if the expected version is already present in the system
+if(yaml_FOUND)
+ if("${yaml_VERSION}" VERSION_EQUAL 0.2.5)
+ if("${yaml_VERSION}" VERSION_GREATER_EQUAL 0.2.5) # RoboStack: conda-forge has 0.2.7 (same ABI)
+ set(_SKIP_YAML_BUILD 1)
+ else()
+ message(WARNING
+ "A wrong version of libyaml is already present in the system: ${yaml_VERSION}."
+ "An older version of libyaml is already present in the system: ${yaml_VERSION}."
+ "It will be ignored and the 0.2.5 version will be built.")
+ endif()
+endif()
Expand Down
53 changes: 51 additions & 2 deletions distros/humble/patch/ros2-microstrain-inertial-driver.win.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 35e036f..a6eafe1 100644
index a98cb77..86b3866 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,12 @@
Expand All @@ -15,7 +15,7 @@ index 35e036f..a6eafe1 100644
# C++ 14 required
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
@@ -236,7 +242,9 @@ ament_target_dependencies(${LIFECYCLE_NAME}
@@ -236,7 +242,9 @@ target_link_libraries(${LIFECYCLE_NAME} PUBLIC
)

# Annoying, but the ROS types don't match up with the MIP types for floats and doubles, so ignore those warnings for now
Expand Down Expand Up @@ -54,6 +54,55 @@ index c8ef84e..931163c 100644
#include <time.h>
#include <iostream>
#include <fstream>
diff --git a/microstrain_inertial_driver_common/src/config.cpp b/microstrain_inertial_driver_common/src/config.cpp
index 9a931cc..213f0c5 100644
--- a/microstrain_inertial_driver_common/src/config.cpp
+++ b/microstrain_inertial_driver_common/src/config.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <memory>
#include <algorithm>
+#include <chrono>
+#include <thread>

#include <GeographicLib/Geocentric.hpp>

@@ -1372,7 +1374,7 @@ bool Config::configureSystem(RosNodeType* node)
else
MICROSTRAIN_MIP_SDK_ERROR(node_, mip_cmd_result, "Failed to set receiver 1 to direct mode.");

- sleep(1);
+ std::this_thread::sleep_for(std::chrono::seconds(1)); // POSIX sleep() isn't available on Windows
// Here, we need to send the raw configuration bytes to the receiver to enable CAR mode for the RTK algorithm.
// First, define the UBX configuration bytes in a buffer. These are the raw bytes required to write the RTK-Conservative Ambiguity
// Resolution mode to the receiver's flash memory.
@@ -1385,7 +1387,7 @@ bool Config::configureSystem(RosNodeType* node)
MICROSTRAIN_DEBUG(node_, "Failed to write bytes to receiver");

// Sleep for 1 second to get the UBX bytes to send to the device correctly
- sleep(1);
+ std::this_thread::sleep_for(std::chrono::seconds(1));

mip_cmd_result = mip::commands_system::writeCommMode(*mip_device_, 0x06);
if (!!mip_cmd_result)
@@ -1394,7 +1396,7 @@ bool Config::configureSystem(RosNodeType* node)
MICROSTRAIN_MIP_SDK_ERROR(node_, mip_cmd_result, "Failed to set receiver 2 to direct mode.");

// Sleep for 1 second to get the UBX bytes to send to the device correctly
- sleep(1);
+ std::this_thread::sleep_for(std::chrono::seconds(1));

// Send the raw configuration bytes to receiver 2.
if (mip_device_->send(data, size))
@@ -1402,7 +1404,7 @@ bool Config::configureSystem(RosNodeType* node)
else
MICROSTRAIN_DEBUG(node_, "Failed to write bytes to receiver");
// Sleep for 1 second to get the UBX bytes to send to the device correctly
- sleep(1);
+ std::this_thread::sleep_for(std::chrono::seconds(1));

mip_cmd_result = mip::commands_system::writeCommMode(*mip_device_, 0x01); //put the device back into normal mode
if (!!mip_cmd_result)
diff --git a/microstrain_inertial_driver_common/src/utils/mip/ros_connection.cpp b/microstrain_inertial_driver_common/src/utils/mip/ros_connection.cpp
index e2eae44..b77e891 100644
--- a/microstrain_inertial_driver_common/src/utils/mip/ros_connection.cpp
Expand Down
10 changes: 5 additions & 5 deletions distros/humble/patch/ros2-mocap4r2-control.win.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 394d5e5..50375ed 100644
index d88c1d2..60d6f8d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
project(mocap4r2_control)

+# no dllexport annotations: export everything so MSVC writes the import libraries (LNK1181)
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
+
# Default to C99
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 99)
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
14 changes: 0 additions & 14 deletions distros/humble/patch/ros2-mocap4r2-dummy-driver.win.patch

This file was deleted.

10 changes: 5 additions & 5 deletions distros/humble/patch/ros2-mocap4r2-marker-viz.win.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ce11de5..4c05e72 100644
index 11aa299..11d54e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
project(mocap4r2_marker_viz)

+# no dllexport annotations: export everything so MSVC writes the import libraries (LNK1181)
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
+
# Default to C99
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 99)
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
14 changes: 9 additions & 5 deletions distros/humble/patch/ros2-mocap4r2-robot-gt.win.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7c14e7e..32f6f05 100644
index f0f5ca6..55dfb17 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.8)
@@ -1,6 +1,13 @@
cmake_minimum_required(VERSION 3.10)
project(mocap4r2_robot_gt)

+# no dllexport annotations: export everything so MSVC writes the import libraries (LNK1181)
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
+# M_PI in robot_gt.cpp: MSVC's <cmath> only defines it with _USE_MATH_DEFINES
+if(MSVC)
+ add_compile_definitions(_USE_MATH_DEFINES)
+endif()
+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
48 changes: 2 additions & 46 deletions distros/humble/patch/ros2-mola-launcher.patch
Original file line number Diff line number Diff line change
@@ -1,28 +1,8 @@
diff --git a/src/MolaDLL_Loader.cpp b/src/MolaDLL_Loader.cpp
index a5ccf39..1cd163d 100644
index bef3f5b..1cd163d 100644
--- a/src/MolaDLL_Loader.cpp
+++ b/src/MolaDLL_Loader.cpp
@@ -24,7 +24,7 @@

#include <map>

-#if defined(__unix__)
+#if defined(__unix__) || defined(__APPLE__)
#include <dlfcn.h>
#endif

@@ -59,7 +59,9 @@ void internal_load_lib_modules(
{
MRPT_TRY_START

-#if defined(__unix__)
+#if defined(__APPLE__)
+#define DLL_EXT "dylib"
+#elif defined(__unix__)
#define DLL_EXT "so"
#else
#define DLL_EXT "dll"
@@ -79,11 +81,14 @@ void internal_load_lib_modules(
@@ -81,6 +81,9 @@ void internal_load_lib_modules(
for (const auto& lib : lst)
{
if (lib.name.find("mola") == std::string::npos) continue; // skip
Expand All @@ -32,30 +12,6 @@ index a5ccf39..1cd163d 100644

// Already loaded?
if (loaded_lib_handled.count(lib.name) != 0) continue; // skip

-#if defined(__unix__)
+#if defined(__unix__) || defined(__APPLE__)
// Check if already loaded?
{
void* handle = dlopen(lib.wholePath.c_str(), RTLD_NOLOAD);
@@ -103,7 +108,7 @@ void internal_load_lib_modules(
// Not fatal: the library may provide modules this system does not use
// (e.g. a GUI with missing system dependencies on a headless machine).
// If one of its modules is requested, that error lists this one.
-#if defined(__unix__)
+#if defined(__unix__) || defined(__APPLE__)
const char* err = dlerror();
if (!err)
{
@@ -146,7 +151,7 @@ void internal_unload_lib_modules()
{
// printf("[mola-launcher] Unloading: %s\n",
// lib.second.lib_path.c_str());
-#if defined(__unix__)
+#if defined(__unix__) || defined(__APPLE__)
dlclose(lib.second.handle);
#else
FreeLibrary(lib.second.handle);
diff --git a/src/MolaLauncherApp.cpp b/src/MolaLauncherApp.cpp
index 841913c..85407a4 100644
--- a/src/MolaLauncherApp.cpp
Expand Down
28 changes: 28 additions & 0 deletions distros/humble/patch/ros2-mola-metric-maps.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a2025ed..3f040ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -192,7 +192,8 @@ endif()

# -----------------------
# define tests:
-option(MOLA_METRIC_MAPS_BUILD_TESTING "Build the unit tests" ON)
+# RoboStack: off on Windows, the tests use POSIX setenv()/unsetenv()
+option(MOLA_METRIC_MAPS_BUILD_TESTING "Build the unit tests" OFF)
if(MOLA_METRIC_MAPS_BUILD_TESTING)
enable_testing()
add_subdirectory(tests)
diff --git a/src/KeyframePointCloudMap.cpp b/src/KeyframePointCloudMap.cpp
index 3a7086d..8b715f2 100644
--- a/src/KeyframePointCloudMap.cpp
+++ b/src/KeyframePointCloudMap.cpp
@@ -1910,7 +1910,8 @@ namespace
/// axis with a large centering offset, covering ~ +/-1e6 voxels per axis.
inline int64_t voxelKey(float x, float y, float z, double inv_voxel)
{
- constexpr int64_t kOffset = 1 << 20; // center the range around 0
+ // RoboStack: static, so the lambda below needn't capture it (MSVC requires that, C3493)
+ static constexpr int64_t kOffset = 1 << 20; // center the range around 0
const auto q = [inv_voxel](float c)
{ return static_cast<int64_t>(std::floor(static_cast<double>(c) * inv_voxel)) + kOffset; };
const int64_t ix = q(x);
33 changes: 33 additions & 0 deletions distros/humble/patch/ros2-mp2p-icp-core.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
diff --git a/mp2p_icp_common/src/load_plugin.cpp b/mp2p_icp_common/src/load_plugin.cpp
index fb606dd..dd3a5aa 100644
--- a/mp2p_icp_common/src/load_plugin.cpp
+++ b/mp2p_icp_common/src/load_plugin.cpp
@@ -72,6 +72,14 @@ void mp2p_icp::load_plugin(
{
std::string absPath;

+#if defined(__APPLE__)
+ // Plugin names are usually given as "lib<name>.so": use the macOS suffix.
+ if (fs::path(moduleToLoad).extension() == ".so")
+ {
+ return load_plugin(fs::path(moduleToLoad).replace_extension(".dylib").string(), logger);
+ }
+#endif
+
if (!fs::path(moduleToLoad).is_relative())
{
// already absolute:
@@ -83,6 +91,13 @@ void mp2p_icp::load_plugin(
// search for it:
std::vector<std::string> lstPath;
from_env_var_to_list("LD_LIBRARY_PATH", lstPath);
+ // conda/RoboStack environments do not set LD_LIBRARY_PATH: also search
+ // <prefix>/lib for every prefix in AMENT_PREFIX_PATH.
+ {
+ std::vector<std::string> prefixes;
+ from_env_var_to_list("AMENT_PREFIX_PATH", prefixes);
+ for (const auto& prefix : prefixes) safe_add_to_list(prefix + "/lib", lstPath);
+ }

for (const auto& p : lstPath)
{
Loading