These are the files/code of my pick and place robotic arm using OpenCV-Python. These code files are not so much organized as I did not find spare time to clean the code or write a good documentation/tutorial. I will try my best to wrate a complete guide and documentation about that complete system.
Steps:
- You have to install Python 3
- Use this Robotic arm: https://github.com/20sffactory/community_robot_arm
- CAD Model : https://grabcad.com/library/robot-arm-community-version-cad-3d-printed-robotic-arm-1
- install OpenCv on your python environment
- use a Digital camera
- Mount the camera above the robotic arm at 90 degree position in such a way that it can capture the working area of the robotic arm clearly.
- use a (~50mm wide, please read the code and comments in the code for details) blue rectangle cardboard as a place holder of the robotic arm and place it where you will place the robotic arm and run the robot_position_estimation.py code
- This code will find the coordinates of the blue cardboard piece and considered it mid point as robotic arm origin.
- place the robotic arm above that bliue cardboard precisely.
- Now you can use the main code file. you have to calibrate the parameters in the code according to your environment and camera setup.
- There are a lot of things to learn first before understanding these codes
- Please watch tutorial videos from this great robotics cource: http://www.robogrok.com/index.html
- Watach atleast these 3 videos to understand my codes: