Repository navigation
noetic: OpenCV 5 - #247
Draft
Tobias-Fischer wants to merge 9 commits into
Draft
noetic: OpenCV 5#247Tobias-Fischer wants to merge 9 commits into
Tobias-Fischer wants to merge 9 commits into
Conversation
Tobias-Fischer
force-pushed
the
noetic/3-opencv5
branch
from
November 22, 2026 16:39
26233b1 to
b757fee
Compare
Tobias-Fischer
force-pushed
the
noetic/3-opencv5
branch
from
November 22, 2026 17:36
b757fee to
e99e7c2
Compare
Tobias-Fischer
added a commit
to Tobias-Fischer/vinca-rs
that referenced
this pull request
Nov 22, 2026
bld_catkin.bat didn't pass -DCMAKE_POLICY_VERSION_MINIMUM=3.5 like build_catkin.sh: with CMake 4, ROS 1 packages with an old cmake_minimum_required (catkin itself) failed to configure on Windows (RoboStack/robostack#247). Pin pixi-build-ros to the fix (3cb18be4, on the pixi-build-ros-catkin-cmake-args branch). Only noetic's win-64 recipes change (377 bld_catkin.bat); humble's are identical. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Tobias-Fischer
force-pushed
the
noetic/3-opencv5
branch
from
November 22, 2026 18:09
e99e7c2 to
25b287d
Compare
ABI check (linux-64)noetic linux-64: **7 need their dependents rebuilt**, 26 to review (changed headers), 575 can be bumped on their own
575 packages can be bumped on their own (additions: 1, compatible: 200, no libraries: 374)
Each package this pull request built, compared with its newest released build (
Exported symbols are compared (the released packages are stripped, so struct layouts aren't); unchanged installed headers rule out layout and inline changes, changed ones are listed for review. Dependents to rebuild are the released ones linking to a changed library. A changed pin is part of the comparison. |
Tobias-Fischer
force-pushed
the
noetic/3-opencv5
branch
from
November 24, 2026 00:38
7d7de3a to
59b1454
Compare
OpenCV 5 splits calib3d into calib, geometry and stereo, moves parts of imgproc into geometry, renames features2d to features, and its CMake config rejects requests for OpenCV 3 or 4. With OpenCV >= 5, catkin's find_package(OpenCV ...) drops the version and maps the old component names, so most packages build unchanged; the libopencv 4.13 pin goes. Recipe test: a catkin project that asks for find_package(OpenCV 4 ... calib3d features2d) builds against OpenCV 5 and runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… API OpenCV 5 removes the C API (CV_* constants, *_c.h headers): C++ constants and headers instead, which OpenCV 4 has too. cv_bridge no longer includes types_c.h; NumPy tostring -> tobytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C++ constants and headers instead of the C API that OpenCV 5 removes (also valid with OpenCV 4). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…_object_2d on OpenCV 5 C++ constants and headers instead of the C API that OpenCV 5 removes (also valid with OpenCV 4). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
face_detector takes CascadeClassifier from xobjdetect, where OpenCV 5 moved it; image_view2 off the C API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cloud_color on OpenCV 5 C++ constants and headers instead of the C API that OpenCV 5 removes (also valid with OpenCV 4). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rtabmap_ros noetic is frozen at 0.21.13, so rtabmap gets a backport of upstream's OpenCV 5 support (introlab/rtabmap d9f3337f97, bcdb4b4546) rather than an upgrade: - C++ constants, calib/geometry/stereo/features headers on OpenCV 5 - ArUco markers through objdetect (OpenCV 5 has no contrib aruco) - compressed data keeps OpenCV 4's type encoding, so databases stay readable across OpenCV versions - its CMake config asks for the OpenCV 5 components rtabmap_conversions, rtabmap_legacy, rtabmap_slam: the same C API changes. Recipe test: a program built against rtabmap's CMake config (a compressed CV_32FC2 matrix keeps its type, ORB). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Backport of upstream introlab/rtabmap dd6930ee68 (#1836): use the Mat_ initializer_list constructor, which OpenCV 4 and 5.0 have too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- RTABMapConfig.cmake finds Python3 with NumPy, so rtabmap runs with numpy. - utilite exports PTHREADS_INCLUDE_DIR only on Windows: on macOS it was the SDK's usr/include, which ends up in the installed config. - The rtabmap test configures against the run environment's Python. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tobias-Fischer
force-pushed
the
noetic/3-opencv5
branch
from
November 24, 2026 08:14
59b1454 to
5756fe0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lifts the
libopencv 4.13pin of #246: noetic builds against OpenCV 5.0, like the ROS 2 distributions. OpenCV 5 removes the C API (CV_BGR2GRAY,opencv2/imgproc/types_c.h, ...) that ROS 1 code uses throughout, splitscalib3dintocalib/geometry/stereo, and renamesfeatures2dtofeatures. CI builds all of noetic on linux-64, linux-aarch64, osx-64, osx-arm64 and win-64, recipe tests included (the Windows fixes are in #246).OpenCV 5
find_package(OpenCV ...)drops OpenCV 3/4 version requests (OpenCV 5's CMake config rejects them) and maps the old component names:calib3dtocalib;geometry;stereo,features2dtofeatures, andimgprocalso bringsgeometry(parts of imgproc moved there). Most packages build unchanged.tostring→tobytes. They are apriltag_ros, aruco, aruco_ros, compressed(_depth)_image_transport, theora_image_transport, image_transport_codecs, costmap_converter, cv_bridge, depth_image_proc, image_proc, image_rotate, stereo_image_proc, face_detector (CascadeClassifierfrom xobjdetect), find_object_2d, grid_map_cv, image_view2, jsk_recognition_utils, jsk_rviz_plugins, moveit_ros_perception, point_cloud_color, rqt_image_view and rtabmap_conversions/legacy/slam.RTABMapConfig.cmakeasks for the OpenCV 5 components.Mat_comma initializers, which OpenCV 5.1 removes. It compiles with OpenCV 5.0 and 4.13.rtabmap on macOS and Windows
usr/include.Regression tests
find_package(OpenCV 4 REQUIRED COMPONENTS core imgproc calib3d features2d)and usesRodrigues,getRotationMatrix2D,cvtColorand ORB is built against OpenCV 5 and run.CV_32FC2matrix comes back with its type (the OpenCV 4/5 type encoding) and that ORB finds features.Stacked on #246.
🤖 Generated with Claude Code