Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion distros/humble/distro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ upload_to: [anaconda]
read_from: anaconda
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; mrpt_gui links both
# which no qt-main 5.15 accepts; keeps wxWidgets users (mrpt_gui) installable next to the
# packages still on Qt5 (plotjuggler)
wxwidgets: [3.3.1]
# nav2_mppi_controller lists xsimd before xtensor: unpinned, the solver takes the newest
# xsimd (14), which no xtensor >= 0.25 accepts, and falls back to xtensor 0.23.9, whose
Expand Down
67 changes: 25 additions & 42 deletions distros/humble/patch/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,11 @@ mimick_vendor:
add_build: ["vcstool"]
moveit_visual_tools:
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"]
mrpt_gui:
# Overrides shared/: this distribution maps Qt to qt-main 5.15, whose builds need
# gstreamer <1.27, while the pinned wxwidgets (3.3.3) needs gstreamer 1.28. A version
# spec bypasses that pin, so the solver picks a wxwidgets that coexists with qt-main.
add_host: ["wxwidgets >=3.2", "${{ 'glad' if win }}"] # glad: as in shared/
nav2_constrained_smoother:
add_host: ["${{ 'openblas' if win }}"]
nav2_rviz_plugins:
# QStateMachine: Qt 6's StateMachine module
add_host: ["qt6-scxml"]
nav2_util:
add_host: ["libboost-devel"]
opennav_coverage:
Expand All @@ -85,7 +83,17 @@ parameter_traits:
pcl_conversions:
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "libboost-devel"]
plotjuggler:
add_host: ["libxcb", "${{ 'elfutils' if linux }}", "ros2-ros-workspace", "git-lfs"]
# PlotJuggler 3.17 is Qt5-only (find_package(Qt5 ...)); the Qt rosdep keys map to Qt6
remove_host: ["qt6-main"]
remove_run: ["qt6-main"]
add_host: ["libxcb", "${{ 'elfutils' if linux }}", "ros2-ros-workspace", "git-lfs", "qt-main"]
add_run: ["qt-main"]
plotjuggler_ros:
# Qt5-only like plotjuggler, which it links
remove_host: ["qt6-main"]
remove_run: ["qt6-main"]
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "qt-main"] # GL: as in shared/
add_run: ["qt-main"]
polygon_rviz_plugins:
add_host: ["libgl-devel"]
add_run: ["libgl-devel"]
Expand All @@ -94,27 +102,15 @@ py_trees:
py_trees_js:
add_host: ["hatchling"]
py_trees_ros_tutorials:
# the mock GUI is ported to PyQt6 (patch/ros2-py-trees-ros-tutorials.patch): PyQt5 and
# PyQt6 (the rqt stack) can't be installed together
remove_run: ["pyqt", "pyqt-builder"]
add_run: ["pyqt6"]
python_qt_binding:
# pyside2 has no python 3.14 build; port to PyQt6 instead.
remove_host: ["qt-main", "pyqt"]
remove_run: ["qt-main", "pyqt"]
# sip <6.16: 6.16.x regressed ABI targeting for PyQt-based bindings.
add_host: ["pyqt-builder", "pep517", "qt6-main", "pyqt6", "sip <6.16"]
add_run: ["pyqt-builder", "pep517", "qt6-main", "pyqt6"]
qt_gui:
# Same PyQt6 port as python_qt_binding/qt_gui_cpp below.
remove_host: ["qt-main", "pyqt"]
remove_run: ["qt-main", "pyqt"]
add_host: ["qt6-main", "pyqt6"]
add_run: ["qt6-main", "pyqt6"]
qt_gui_cpp:
# Ported to PyQt6, see patch/ros2-qt-gui-cpp.patch.
remove_host: ["qt-main", "pyqt"]
remove_run: ["qt-main", "pyqt"]
add_build: ["${{ 'pyqt6' if (build_platform != target_platform) }}", "${{ 'qt6-main' if (build_platform != target_platform) }}"]
# sip pinned directly for the same reason as python_qt_binding above.
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "pyqt-builder", "pep517", "qt6-main", "pyqt6", "sip <6.16"]
Expand All @@ -132,6 +128,12 @@ rclcpp_action:
rclpy:
add_host: ["typing_extensions"]
add_run: ["typing_extensions"]
rmf_traffic_editor:
# 1.9 is Qt5-only (find_package(Qt5 ...), QRegExp etc.; Qt6 from 1.14); the Qt rosdep keys map to Qt6
remove_host: ["qt6-main"]
remove_run: ["qt6-main"]
add_host: ["qt-main"]
add_run: ["qt-main"]
rmw_implementation:
add_host:
- "ros2-yaml-cpp-vendor"
Expand All @@ -142,27 +144,6 @@ ros_ign_gazebo:
add_host: ["ros2-std-msgs", "ros2-rclcpp", "${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"]
ros_ign_interfaces:
add_host: ["ros2-rcl-interfaces"]
ros_image_to_qimage:
# Same PyQt6 port as qt_gui_cpp/rqt_gui_cpp above (patch/ros2-ros-image-to-qimage.patch).
remove_host: ["qt-main"]
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "qt6-main"]
rqt_gui_cpp:
remove_host: ["qt-main"]
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "qt6-main"]
rqt_image_overlay:
# Same PyQt6 port as qt_gui_cpp/rqt_gui_cpp above (patch/ros2-rqt-image-overlay.patch).
remove_host: ["qt-main"]
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "qt6-main"]
rqt_image_overlay_layer:
# Same PyQt6 port as qt_gui_cpp/rqt_gui_cpp above (patch/ros2-rqt-image-overlay-layer.patch).
remove_host: ["qt-main"]
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "qt6-main"]
rqt_image_view:
remove_host: ["qt-main"]
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "qt6-main"]
rqt_py_common:
remove_host: ["qt-main"]
add_host: ["qt6-main"]
rtabmap:
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "ceres-solver", "${{ 'libdc1394' if not win }}", "libusb", "vtk"]
remove_host: ["ros2-qt-gui-cpp"]
Expand All @@ -175,8 +156,10 @@ rviz_ogre_vendor:
add_build: ["vcstool"]
add_run: ["assimp"]
slam_toolbox:
add_build: ["${{ 'qt-main' if (build_platform != target_platform) }}"]
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"]
add_build: ["${{ 'qt6-main' if (build_platform != target_platform) }}"]
# libblas/libcblas: picks up the netlib pin; the blas-devel ceres brings in otherwise resolves
# to BLIS, whose libblas aborts at load (CPU detection) on some aarch64 hosts and breaks `import numpy`
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "libblas", "libcblas"]
spatio_temporal_voxel_layer:
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "openvdb"]
spdlog_vendor:
Expand All @@ -191,7 +174,7 @@ ur_moveit_config:
add_host: ["ros2-rclpy"]
add_run: ["ros2-rclpy"]
vision_msgs_rviz_plugins:
add_build: ["${{ 'qt-main' if (build_platform != target_platform) }}"]
add_build: ["${{ 'qt6-main' if (build_platform != target_platform) }}"]
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"]
warehouse_ros_sqlite:
add_host: ["ros2-sqlite3-vendor"]
Expand Down
22 changes: 22 additions & 0 deletions distros/humble/patch/ros2-as2-rviz-plugins.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index deaeab8f..ef713b9f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,7 @@ set(PROJECT_DEPENDENCIES
as2_motion_reference_handlers
)

-find_package(Qt5 REQUIRED COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Widgets)

foreach(DEPENDENCY ${PROJECT_DEPENDENCIES})
find_package(${DEPENDENCY} REQUIRED)
@@ -53,7 +53,7 @@ set(SRC_FILES
add_library(${PROJECT_NAME} SHARED ${SRC_FILES})
ament_target_dependencies(${PROJECT_NAME} ${PROJECT_DEPENDENCIES})
target_include_directories(${PROJECT_NAME} PUBLIC
- ${Qt5Widgets_INCLUDE_DIRS})
+ ${Qt6Widgets_INCLUDE_DIRS})

## Here we export the plugins and meshes so they can be found by RViz at runtime.
pluginlib_export_plugin_description_file(rviz_common plugin_description.xml)
31 changes: 31 additions & 0 deletions distros/humble/patch/ros2-grid-map-rviz-plugin.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 92bb25b..876d525 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ find_package(ament_cmake REQUIRED)
find_package(grid_map_cmake_helpers REQUIRED)
find_package(grid_map_msgs REQUIRED)
find_package(grid_map_ros REQUIRED)
-find_package(Qt5 REQUIRED COMPONENTS Core Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Widgets)
find_package(rclcpp REQUIRED)
find_package(rviz_common REQUIRED)
find_package(rviz_ogre_vendor REQUIRED)
@@ -34,7 +34,7 @@ set(INCLUDE_FILES_QT
include/grid_map_rviz_plugin/GridMapDisplay.hpp
)

-qt5_wrap_cpp(MOC_FILES ${INCLUDE_FILES_QT})
+qt6_wrap_cpp(MOC_FILES ${INCLUDE_FILES_QT})

## Avoid Qt signals and slots defining "emit", "slots", etc.
add_definitions(-DQT_NO_KEYWORDS)
@@ -133,7 +133,7 @@ endif()
ament_export_include_directories(include)
ament_export_targets(${PROJECT_NAME} HAS_LIBRARY_TARGET)
ament_export_dependencies(
- Qt5
+ Qt6
rviz_common
geometry_msgs
map_msgs
67 changes: 67 additions & 0 deletions distros/humble/patch/ros2-moveit-ros-visualization.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,75 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0f4a738241..8611a910fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,10 +37,10 @@ find_package(rviz_ogre_vendor REQUIRED)
include(ConfigExtras.cmake)

# Qt Stuff
-find_package(Qt5 ${rviz_QT_VERSION} REQUIRED Core Widgets)
-set(QT_LIBRARIES Qt5::Widgets)
+find_package(Qt6 ${rviz_QT_VERSION} REQUIRED Core Widgets)
+set(QT_LIBRARIES Qt6::Widgets)
macro(qt_wrap_ui)
- qt5_wrap_ui(${ARGN})
+ qt6_wrap_ui(${ARGN})
endmacro()

set(CMAKE_INCLUDE_CURRENT_DIR ON)
diff --git a/ConfigExtras.cmake b/ConfigExtras.cmake
index ddda760859..3b7b9699cd 100644
--- a/ConfigExtras.cmake
+++ b/ConfigExtras.cmake
@@ -1,3 +1,3 @@
# Extras module needed for dependencies to find boost components

-find_package(Boost REQUIRED thread date_time system filesystem)
+find_package(Boost REQUIRED thread date_time filesystem)
diff --git a/motion_planning_rviz_plugin/CMakeLists.txt b/motion_planning_rviz_plugin/CMakeLists.txt
index d93996d6af..4d7a6b6e26 100644
--- a/motion_planning_rviz_plugin/CMakeLists.txt
+++ b/motion_planning_rviz_plugin/CMakeLists.txt
@@ -5,7 +5,7 @@ set(HEADERS
include/moveit/motion_planning_rviz_plugin/motion_planning_param_widget.h
include/moveit/motion_planning_rviz_plugin/interactive_marker_display.h
)
-qt5_wrap_ui(UIC_FILES
+qt6_wrap_ui(UIC_FILES
src/ui/motion_planning_rviz_plugin_frame.ui
src/ui/motion_planning_rviz_plugin_frame_joints.ui
)
@@ -39,7 +39,7 @@ ament_target_dependencies(${MOVEIT_LIB_NAME}_core
moveit_ros_warehouse
rviz2
rviz_ogre_vendor
- Qt5
+ Qt6
pluginlib
rviz_ogre_vendor
)
diff --git a/planning_scene_rviz_plugin/CMakeLists.txt b/planning_scene_rviz_plugin/CMakeLists.txt
index f71a603caa..e18759e5d7 100644
--- a/planning_scene_rviz_plugin/CMakeLists.txt
+++ b/planning_scene_rviz_plugin/CMakeLists.txt
@@ -22,7 +22,7 @@ target_include_directories(${MOVEIT_LIB_NAME}_core PRIVATE "${OGRE_PREFIX_DIR}/i

add_library(${MOVEIT_LIB_NAME} SHARED src/plugin_init.cpp)
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")
-target_link_libraries(${MOVEIT_LIB_NAME} ${MOVEIT_LIB_NAME}_core Qt5::Widgets)
+target_link_libraries(${MOVEIT_LIB_NAME} ${MOVEIT_LIB_NAME}_core Qt6::Widgets)
ament_target_dependencies(${MOVEIT_LIB_NAME}
pluginlib
rviz_ogre_vendor
diff --git a/rviz_plugin_render_tools/CMakeLists.txt b/rviz_plugin_render_tools/CMakeLists.txt
index fc5d381e5f..b95c62f0df 100644
--- a/rviz_plugin_render_tools/CMakeLists.txt
+++ b/rviz_plugin_render_tools/CMakeLists.txt
@@ -27,7 +27,7 @@ add_library(${MOVEIT_LIB_NAME} SHARED
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")

target_link_libraries(${MOVEIT_LIB_NAME}
- Qt5::Widgets
+ Qt6::Widgets
)

ament_target_dependencies(${MOVEIT_LIB_NAME}
13 changes: 13 additions & 0 deletions distros/humble/patch/ros2-moveit-setup-app-plugins.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a5a9fbb070..87f2f6bd4f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ find_package(rclcpp REQUIRED)
set(CMAKE_AUTOMOC ON)
add_definitions(-DQT_NO_KEYWORDS)

-qt5_wrap_cpp(MOC_FILES
+qt6_wrap_cpp(MOC_FILES
include/moveit_setup_app_plugins/launches_widget.hpp
include/moveit_setup_app_plugins/perception_widget.hpp
)
35 changes: 35 additions & 0 deletions distros/humble/patch/ros2-moveit-setup-assistant.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2c30763937..32d353ece5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,8 +12,8 @@ find_package(Boost REQUIRED program_options)
find_package(moveit_setup_framework REQUIRED)
find_package(moveit_setup_srdf_plugins REQUIRED)
find_package(pluginlib REQUIRED)
-find_package(Qt5Core REQUIRED)
-find_package(Qt5Widgets REQUIRED)
+find_package(Qt6Core REQUIRED)
+find_package(Qt6Widgets REQUIRED)
find_package(rclcpp REQUIRED)

set(THIS_PACKAGE_INCLUDE_DEPENDS
@@ -21,8 +21,8 @@ set(THIS_PACKAGE_INCLUDE_DEPENDS
moveit_setup_framework
moveit_setup_srdf_plugins
pluginlib
- Qt5Core
- Qt5Widgets
+ Qt6Core
+ Qt6Widgets
rclcpp
)

@@ -35,7 +35,7 @@ set(HEADERS
set(CMAKE_AUTOMOC ON)
add_definitions(-DQT_NO_KEYWORDS)

-qt5_wrap_cpp(MOC_FILES
+qt6_wrap_cpp(MOC_FILES
${HEADERS}
)

13 changes: 13 additions & 0 deletions distros/humble/patch/ros2-moveit-setup-controllers.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9c41f06bed..06796d1a10 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ find_package(rclcpp REQUIRED)
set(CMAKE_AUTOMOC ON)
add_definitions(-DQT_NO_KEYWORDS)

-qt5_wrap_cpp(MOC_FILES
+qt6_wrap_cpp(MOC_FILES
include/moveit_setup_controllers/controller_edit_widget.hpp
include/moveit_setup_controllers/controllers_widget.hpp
include/moveit_setup_controllers/urdf_modifications_widget.hpp
26 changes: 26 additions & 0 deletions distros/humble/patch/ros2-moveit-setup-core-plugins.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9b54b7b7fa..e8cd251584 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(urdf REQUIRED)
set(CMAKE_AUTOMOC ON)
add_definitions(-DQT_NO_KEYWORDS)

-qt5_wrap_cpp(MOC_FILES
+qt6_wrap_cpp(MOC_FILES
include/moveit_setup_core_plugins/start_screen_widget.hpp
include/moveit_setup_core_plugins/configuration_files_widget.hpp
include/moveit_setup_core_plugins/author_information_widget.hpp
diff --git a/src/configuration_files_widget.cpp b/src/configuration_files_widget.cpp
index 61be0be608..07024764d5 100644
--- a/src/configuration_files_widget.cpp
+++ b/src/configuration_files_widget.cpp
@@ -44,7 +44,7 @@
#include <QProgressBar>
#include <QPushButton>
#include <QPushButton>
-#include <QRegExp>
+#include <QRegularExpression>
#include <QSplitter>
#include <QVBoxLayout>

Loading
Loading