Giter Site home page Giter Site logo

robotica's Introduction

Robotica

is a collection of useful robotics problem solving functions enscapsulated in a Mathematica package, authored by John Nethery and M.W.Spong, updated by Mohammad Sultan and Aaron T. Becker

New Functions:

dhInput[ex] Function:

Now accepts DH parameters as a matrix as well as old method using .txt file.

Alternately, user can enter DH parameters using a dialogue box.

Both new ways work inside Mathematica.

Method 1:

ex = {{r, R, p, Revolute, revolute, r}, {0, 0, 0, 0, 0, 0}, {-Pi/2, 
Pi/2, 0, -Pi/2, Pi/2, 0}, {1, 1, q3, 1/2, 0, 1/2}, {q1, q2, 0, q4,
 q5, q6}}; 
 
dhInput[ex];

Method 2:

Also using dhInput[ex] with ex = dof;   

ex = 6;

dhInput[ex];

showing the following dialogue box to fill:

dialogue

The new dhInput[ex] methods all give the same result:

dhinput

drawRobot[] Function:

this function shows your robot initialized with joints set to zero. 
You can manipulate each joint using the sliders.

Example:

After setting DH parameters using dhInput[ex] function as from previous example...

...call drawRobot[] function to draw your own robot!

draw1

draw2

The following are different robots with a range of DOF:

draw3

draw4

robotica's People

Contributors

aabecker avatar mmsultan17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

robotica's Issues

Fixed: reading DYNAMICS input

It's possible someone else has run into this issue, or I was simply using Robotica incorrectly but I ran into the issue of Robotica not being able to read in my DYNAMICS input. I tried copy/pasting directly from the manual (http://tareksobh.org/online_courses/cpe460/Lectures_Handouts/3/Robotica_User_Manual.pdf) but got an error.

I've realized that there's an extra "Read[f,String]" line right after it reads the line "DYNAMICS" in the data file, which skips the line containing the gravity vector and jumps to the first mass value. This of course threw off reading the rest of the data in the datafile. Deleting this line fixed my problems!

robotica_deleteline

Thanks for developing such a cool robotics simulator and analyzer!

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.