Skip to content

Material URJC Robotics Software Engineering Degree - Computer Vision. This project contains code examples for Computer Vision using C++ & OpenCV & PCL in ROS 2

License

Notifications You must be signed in to change notification settings

jmguerreroh/computer_vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Vision Examples

distro distro humble

This project contains code examples created in Visual Studio Code for Computer Vision using C++ & OpenCV & Point Cloud Library (PCL) in ROS 2. These examples are created for the Computer Vision Subject of Robotics Software Engineering Degree at URJC.

This package is recommended to use with the TIAGO simulator.

Installation

You need to have previously installed ROS 2. Please follow this guide if you don't have it.

source /opt/ros/humble/setup.bash

Clone the repository to your workspace:

mkdir -p ~/cv_ws/src
cd ~/cv_ws/src/
git clone https://github.com/jmguerreroh/tiago_simulator.git
cd ~/cv_ws/
rosdep install --from-paths src --ignore-src -r -y

Building project

colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF

Run

Execute:

ros2 launch computer_vision cv.launch.py

If you want to use your own robot, in the launcher, change the topic names to match the robot topics.

FAQs:

  • /usr/bin/ld shows libraries conflicts between two versions:

Probably you have installed and built your own OpenCV version, rename your local folder:

mv /usr/local/lib/cmake/opencv4 /usr/local/lib/cmake/oldopencv4

About

This project was made by José Miguel Guerrero, Associate Professor at Universidad Rey Juan Carlos.

Copyright © 2024.

Twitter

License

This work is licensed under the terms of the MIT license.

License: MIT

About

Material URJC Robotics Software Engineering Degree - Computer Vision. This project contains code examples for Computer Vision using C++ & OpenCV & PCL in ROS 2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published