Giter Site home page Giter Site logo

zj-ming / camera-to-arm-calibration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zacharytaylor/camera-to-arm-calibration

0.0 0.0 0.0 509 KB

Matlab toolbox for finding the transformation from a camera to a robotic arms base

MATLAB 100.00%

camera-to-arm-calibration's Introduction

Camera-to-Arm-Calibration

The method operates by finding the parameters that minimize the difference in the position of the checkerboard given by the camera and arm when it is projected into the cameras coordinate system.

A ROS extension to this toolbox that removes the need for manual extraction of data has been made by Haitham El-Hussieny and can be found at https://github.com/elhussieny/kuka_camera_calib

The details of how the calibration works are given in Camera to Robotic Arm Calibration.pdf

Calibration guide

  1. Download the code

  2. Obtain a checkerboard, Matlab can generate one by running

    I = checkerboard(200,10,7); I = I(1:size(I,1)/2,1:size(I,2)/2); imsave(imshow(I));

  3. Rigidly mount the checkerboard to the robots end effector

  4. Move the robotic arm into a new pose where the entire checkerboard can be seen from the camera

  5. Capture the camera image and record the arm base to end effector transformation.

  6. Repeat steps 4-5 at least 10 times (20+ times is recommended)

  7. Run the calibration code

    [TBase, TEnd, cameraParams] = CalCamArm(imageFolder, armMat, squareSize) imageFolder- folder containing images armMat- matrix holding arm base to end effector transformations squareSize- width of a square on the chessboard in mm TBase- 4x4 camera to arm base transformation matrix, distances in m TEnd- 4x4 arm base to end effector transformation matrix, distances in m cameraParams- camera parameters object containing distortions and camera matrix

  8. The Calibration should be complete. For more details and optional inputs / outputs run

    help CalCamArm

Any issues / comments / ideas / etc give me an email at [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.