User Tools

Site Tools


opencv_ros

Running Opencv using ROS

Author: <Brandon Seo> Email: hyunduck1024@gmail.com
Date: Last modified on <08/19/19>
Keywords: <Ros, Tutorial, CMakeLists, step-by-step>

Motivation and Audience

This tutorials motivation is to practice basic autonomous system using ROS. Readers of this tutorial assumes the reader has the following background and interests:

Parts List and Sources

To complete this tutorial, you'll need the following items

* For Robot Operating System installation, use the following link. ROS-kinetic kame is used ROS.org
you should download Mellodic

Software Construction

To run this tutorial. The following should be completed

*How to use Linux? I know you've been working on Windows process so far. But ROS optimizes Linux more than Windows.
you need to know how to build using Linux. library set up C++ linux

*ROS Tutorial http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment


Step 1

ROS had already Opencv3.0, but there's some limitations.
So, you need to delete the exist github and intall a new Opencv 4.0.1
you should be careful about this.
If you do something wrong,
you could end up being deleted everything.
Follow this Opencv Update

If you succeed to follow this, it would show like this.



Step 2
Make your own package to run the example code of Opencv.

Step 3
you put the link_directories and target_link_libraries in CMakeLists.

This is my cmakelist opecv_cmake.docx

Step 4
Modify the example code to detect the object.
If you just bring your sourcefile based on Windows, you may add headerfile and change some codes.
Because this all steps are based on Linux.

Final Words

This tutorial's objective was to build the Opencv code on ROS. Once the concepts were conveyed the reader could combine Dynamixel and Opencv.

For questions, clarifications, etc, Email: hyunduck1024@gamil.com

opencv_ros.txt · Last modified: 2019/08/19 12:08 by bradseo