Skip to content

OpenCV 5 support - #1732

Merged
matlabbe merged 18 commits into
masterfrom
opencv5_support
Jul 30, 2026
Merged

matlabbe merged 18 commits into
masterfrom
opencv5_support

Conversation

@matlabbe

@matlabbe matlabbe commented Jul 9, 2026 •

Copy link
Copy Markdown
Member

Addressing #1730

Things to doublecheck:

  • is util3d::solvePnPRansac affected? Update: seems not
  • should we port stereoRectifyFisheye to opencv5? currently falling back to cv::fisheye::stereoRectify() (though noted in comments that it was less stable than original version that we copied here with old opencv c api) Update: With realsense 2.53.1 (and this fix), I could calibrate successfully T265 camera.
  • Keep backward compatibility with OpenCV 2, 3 and 4
  • Check how RTABMapConfig.cmake opencv dependency is found (in particular we may want to pin the opencv version used during rtabmap build, also find calib3d or calib depending on the version)
  • Let's also clean old headers that we don't need anymore
  • aruco module doesn't exist anymore in opencv5, should detect if aruco is available by looking at objdetect module instead.
  • doublecheck mono and stereo calibration (normal distortion model)
  • Bump patch version to track this change better

@matlabbe matlabbe mentioned this pull request Jul 9, 2026
@matlabbe
matlabbe marked this pull request as ready for review July 13, 2026 02:59
@matlabbe matlabbe mentioned this pull request Jul 16, 2026
matlabbe added a commit that referenced this pull request Jul 16, 2026
@matlabbe matlabbe mentioned this pull request Jul 29, 2026
@matlabbe
matlabbe merged commit d9f3337 into master Jul 30, 2026
34 of 35 checks passed
@matlabbe
matlabbe deleted the opencv5_support branch July 30, 2026 05:48
Tobias-Fischer added a commit to RoboStack/ros-humble that referenced this pull request Sep 3, 2026
…n checker

- Port qt_gui_cpp/python_qt_binding/rqt_gui_cpp/rqt_image_view to PyQt6 (pyside2
  has no python 3.14 build); qt_gui/rqt_py_common get analogous qt-main->qt6-main
  swaps. All patches target humble's own package versions, not borrowed from
  another distro's rosdistro_snapshot.
- Port rtabmap's corelib to OpenCV5 (backport of introlab/rtabmap#1732) and
  disable its optional Qt-based GUI/tools/examples (WITH_QT=OFF) instead of
  porting them, since rtabmap_ros only needs the core SLAM library.
- OpenCV5 API fixes: image-rotate, stereo-image-proc, nav2-waypoint-follower,
  compressed/theora image-transport, image-proc, apriltag-mit.
- CMake<3.5 sweep across lanelet2, libnabo, libpointmatcher,
  motion-capture-tracking (including vendored deps/) and mrt-cmake-modules.
- Bump hpp_fcl 3.0.2->3.0.4 and pinocchio 4.0.0->4.1.0 (libboost 1.88->1.90),
  remove the now-stale macOS pinocchio skip in vinca.yaml.
- Fix cartographer's unpinned lua/gflags build_deps conflicting with the real
  conda-forge library; remove a stale clang<19 workaround on
  nav2_mppi_controller.
- Bump vtk mutex pin to 9.7.0, mutex build_number to 21; raise glibc floor to
  2.28 and refresh compiler pins in vinca_pinning.yaml.
- Add check_dependency_compat.py: solves one fake package containing every
  non-ROS dependency plus the mutex constraints to catch pin conflicts before
  building anything; wire up as `pixi run check-deps` and document in
  AGENTS.md.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
traversaro pushed a commit to RoboStack/ros-lyrical that referenced this pull request Sep 30, 2026
… number to 27 and switch to new pinning mechanism

- Bump build number to 27 and ros2-distro-mutex to 0.21.0 (vtk 9.7.0
  constraint), clear stale build_number overrides, refresh the rosdistro
  snapshot.
- Switch to the new pinning mechanism: conda_build_config.yaml is now
  rendered by vinca-pinning-render from vinca_pinning.yaml (conda-forge
  pinning 2026.09.25.23.22.04 plus selected migrations and lyrical overrides).
- Pin vinca to the latest upstream commit and add a build-up-to task.
- Port rosidl_generator_py fix from ros-rolling#51 (do not link the Python
  bindings library into C++ consumers) with a std_msgs regression test.
- OpenCV 5: port rolling patches (cv_bridge, image_geometry, image_proc,
  image_rotate, stereo_image_proc, depth_image_proc, compressed/theora image
  transport, rqt_image_view, moveit_ros_perception, apriltag_mit) and backport
  the OpenCV 5 parts of introlab/rtabmap#1732 for rtabmap 0.23.7.
- CMake 4: raise cmake_minimum_required for lanelet2 and mrt_cmake_modules.
- py_trees_js 0.7.0 builds with hatchling; refresh nav2_map_server patch for
  1.5.2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Maurice <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant