User Tools

Site Tools


opencv_ros

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
opencv_ros [2019/08/18 16:33] – created bradseoopencv_ros [2019/08/19 12:08] (current) bradseo
Line 1: Line 1:
 =====Running Opencv using ROS===== =====Running Opencv using ROS=====
- 
-<!-- Replace the above line with the name of your "How To" Tutorial e.g. How to Laser cut Your Name in Wood --> 
- 
-<!-- Everywhere you see <some sentence>, replace it with the answer (be concise), and remove the < and > brackets --> 
  
 **Author:** <Brandon Seo> Email: <hyunduck1024@gmail.com> <!-- replace with your email address --> **Author:** <Brandon Seo> Email: <hyunduck1024@gmail.com> <!-- replace with your email address -->
 \\ \\
-**Date:** Last modified on <MM/DD/YY>+**Date:** Last modified on <08/19/19>
 \\ \\
 **Keywords:** <Ros, Tutorial, CMakeLists, step-by-step> **Keywords:** <Ros, Tutorial, CMakeLists, step-by-step>
Line 20: Line 16:
 To complete this tutorial, you'll need the following items  To complete this tutorial, you'll need the following items 
 \\ \\
- * For dynamixel motor control, the following article should be downloaded [[http://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_sdk/download/#repository|Dynamixel_sdk]] 
 \\ \\
  * For Robot Operating System installation, use the following link. ROS-kinetic kame is used [[http://wiki.ros.org/ROS/Installation|ROS.org]]  * For Robot Operating System installation, use the following link. ROS-kinetic kame is used [[http://wiki.ros.org/ROS/Installation|ROS.org]]
Line 30: Line 25:
 ==== Software Construction ==== ==== Software Construction ====
 To run this tutorial. The following should be completed To run this tutorial. The following should be completed
-\\ 
-*Gantry tutorial              [[http://www.daslhub.org/unlv/wiki/doku.php?i|how_to_move_gantry]]  
 \\ \\
 \\ \\
Line 37: Line 30:
 \\ you need to know how to build using Linux. [[http://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_sdk/library_setup/cpp_linux/#cpp-linux|library set up C++ linux]] \\ you need to know how to build using Linux. [[http://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_sdk/library_setup/cpp_linux/#cpp-linux|library set up C++ linux]]
 \\ \\
-you have to make sure that your port is connected. 
 \\ \\
-if not, you should insert this.(sudo means doing as administrator) +*ROS Tutorial                [[http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment]]
 \\ \\
-{{:port.png?300|}} 
 \\ \\
 \\ \\
Line 47: Line 38:
 \\ \\
 \\ \\
-*ROS Tutorial                [[http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment]]+ROS had already Opencv3.0, but there's some limitations.
 \\ \\
-You need to know what is the package, node, CMakeLists, topic, Publisher, Subscriber.+So, you need to delete the exist github and intall a new Opencv 4.0.1
 \\ \\
-It is really important before you start the gantry system using ROS.+you should be careful about this
 \\ \\
-Make the catkin workspace. Now, you are going to make everything at catkin workspace.+If you do something wrong,
 \\ \\
-{{:catkin.png?400|}}+you could end up being deleted everything.
 \\ \\
 +Follow this [[https://webnautes.tistory.com/1186| Opencv Update]]
 \\ \\
 \\ \\
-you should do tutorial from 1 to 7.+If you succeed to follow this, it would show like this.
 \\ \\
-{{:ros_tutorial.png?500|}}+{{:opencv_update.png?300|}}
 \\ \\
 \\ \\
-When you make the package, you should be careful about this 
 \\ \\
-{{:create.png?600|}}+**Step 2**
 \\ \\
-you also should put 'message_generation'. These things are essential to make package.+Make your own package to run the example code of Opencv.
 \\ \\
 \\ \\
 +**Step 3**
 \\ \\
-**Step 2**+you put the link_directories and target_link_libraries in CMakeLists.
 \\ \\
-Make your own package to run the example code of Dynamixel.+{{:opencvlibraries.png?500|}}
 \\ \\
 +This is my cmakelist {{:opecv_cmake.docx|}}   
 \\ \\
-**Step 3** 
 \\ \\
-Modify the example code to wheel mode.+**Step 4** 
 +\\ 
 +Modify the example code to detect the object.
 \\ \\
-If you just bring your code based on Windows, you may add headerfile and change some codes.+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. Because this all steps are based on Linux.
Line 88: Line 82:
 ==== Final Words ==== ==== Final Words ====
  
-This tutorial's objective was to build the Dynamixel code on ROS. Once the concepts were conveyed the reader could apply Opencv too.+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> For questions, clarifications, etc, Email: <hyunduck1024@gamil.com>
  
opencv_ros.1566171185.txt.gz · Last modified: by bradseo