Skip to content

Commit

Permalink
docs: Update README to reflect new OpenCV version dependency
Browse files Browse the repository at this point in the history
- Added steps to build the ROS2 package with `colcon build --symlink-install` and `source install/setup.bash`.
- Updated instructions for ROS2 packages requiring reconfiguration to use OpenCV 4.10.0.
- Modified CMakeLists.txt example to specify OpenCV 4.10.0 version explicitly:

  ```cmake
  find_package(OpenCV 4.10.0 REQUIRED)
  • Loading branch information
mjlee111 committed Oct 12, 2024
1 parent 3169682 commit 9d4936e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/opencv_install_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,18 @@ set(OpenCV_MODULES_SUFFIX )
cd ~/ros2_ws
colcon build --symlink-install
source install/setup.bash
```
```

## ROS2 Dependency Reconfiguration
Packages that depend on OpenCV will need to be reconfigured to use the new OpenCV version.

Change CMakeLists.txt of the package to use the new OpenCV version.

Change:
```cmake
find_package(OpenCV REQUIRED)
```
to:
```cmake
find_package(OpenCV 4.10.0 REQUIRED)
```

0 comments on commit 9d4936e

Please sign in to comment.