Giter VIP home page Giter VIP logo

ur5robot-mex-matlab's Introduction

UR5 Kinematics and Display

image of figure window

This repository contains two MATLAB classes.

  1. UR5Display : A class to visualize a robot model using the corresponding STL files.
  2. UR5Kinematics : A wrapper class to compute forward and inverse kinematics solutions via a MEX interface to C++ code.

There are many ways to visualize a robot model in MATLAB. This class does it efficiently by utilizing graphics objects provided by MATLAB. The key advantage is that the robot model can be efficiently articulated by either the callback function or a call to draw_configuration.

I hope this class is of use to anyone wanting to:

  1. Visualize the pose of an UR5 robot.
  2. Visualize and manipulate STL objects efficiently from within MATLAB.

Credits

I am grateful to the authors of the following packages:

  1. Example MATLAB class wrapper for a C++ class by Oliver Woodford https://www.mathworks.com/matlabcentral/fileexchange/38964-example-matlab-class-wrapper-for-a-c-class

  2. stlTools by Pau Micó https://www.mathworks.com/matlabcentral/fileexchange/51200-stltools?focused=3878420&tab=function

  3. universal_robot package by Kelsey Hawkins ([email protected]) https://github.com/ros-industrial/universal_robot/tree/kinetic-devel/ur_kinematics

Usage

  1. Download or clone this repo into your folder.
  2. Run the script "run_me.m".
  3. Star this repo if you like it.

Some tips

  1. You need to have set a MEX compiler for this to work
  2. This was tested in MATLAB 2018b. But, it should work for any recent version of MATLAB.

Author

Pradeep Rajendran

License

Copyright © 2019 Pradeep Rajendran Released under the GNU General Public License.

ur5robot-mex-matlab's People

Contributors

pradeepr-roboticist avatar aniruddha3395 avatar

Watchers

James Cloos avatar

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.