Code covered by the BSD License  

Highlights from
3D Puma Robot Demo

4.63158

4.6 | 19 ratings Rate this file 73 Downloads (last 30 days) File Size: 52.3 KB File ID: #14932
image thumbnail

3D Puma Robot Demo

by

 

09 May 2007 (Updated )

Simulate a 6 link 3D Puma Robot

| Watch this File

File Information
Description

This program simulates a 6 link 3D Puma Robot in the robots lab at Walla Walla College. The 3D robot looks "real" thanks to the cad2matdemo program.

The robot currently moves with kinematic control using direct input of joint angles and slider bars (GUI). Some inverse kinematics options are built in but not automated yet (a demo button). A random input is also provided and the robot animates between locations.

There are just two files to use. The main program and the six 3D-links data file that is read in at start up.

Try the "demo" button and the "Random Move" button.

Note: This file will be updated and improved. Comments welcomed.

Acknowledgements

Robot Demo, Cad2 Matdemo.M, and Uibutton: Gui Pushbuttons With Better Labels inspired this file.

This file inspired Four Bar Polode Animation.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (25)
06 Apr 2014 liang

I can not understant what is the means of A1 in linksdata.mat.

21 Mar 2014 oumaya abdelkhalek

source code !!!

29 May 2013 Neha Jain

Thank you very much :)

24 Nov 2012 shiva

Manually adding link data to "linksdata.mat" file:

if you have saved your link files with struct variables as s1,s2,...,s6,s7

double click on each of the mat file to load them in matlab workspace.

then type,

save('linksdata.mat','s1','s2','s3','s4','s5','s6','s7')

in the command window

24 Nov 2012 shiva

A tip to automatically add a column of 1s to vertices matrix

add this line in the cad2mat function

s0.V0 = [V(:,1), V(:,2), V(:,3), ones(length(V),1)];

example:

function cad2mat(filename)
filename = 'Link0.stl'; % part
% Read the CAD data file:
[F, V, C] = rndread(filename);
s0=struct('F0', F,'V0', V,'C0', C);
s0.V0 = [V(:,1), V(:,2), V(:,3), ones(length(V),1)];
save('Link0.mat','s0');
end

11 Jun 2012 cancan

Can you show us how to store the link data manually in the "linksdata.mat"? Thank you in advance!!

16 Apr 2012 Xietong LU

The IK part is nice and easy to understand. Thank you very much!

30 Jan 2012 Patrik Eschle

Nicely programmed, ideal for illustration purpose.

16 Oct 2011 Nirav Chudasama

Nice work.
I am beginner in this work can any body help me how to insert robotic toolbox in my mat lab r2008a

04 Oct 2011 Mohd Huzaifa

awesome robot simulation

21 Sep 2011 David Flores  
20 Aug 2010 Mathias Mathias

How du store the link data manually in the linksdata.mat?

23 Apr 2010 Infant Joe Charles

Is there any manual to guide how to write programs like this? I'm thinking about developing a robotic arm that picks the objects after analyzing the images of the object. Can you help on that?

04 Apr 2009 Alex Frid

very cool simulation!!
some question:
how do you set the initial position of the parts (before starting the transformations)? i.e.

12 May 2008 Cesar Gustavo Chillon

Very good simulation in joint mode.

05 Apr 2008 jang shaoten  
30 Mar 2008 Karan Khokar

Very good simulation in joint mode. Possible additions could be Cartesian mode movement for end-effector which would require inverse kinematics.

26 Mar 2008 abdelrazzac MERHEB

It's a good demo... I will try to use it in my thesis, "Nonlinear Control of PUMA Robot" it would be perfect...
But when I open puma3d.m I don't see the slides and the edit boxes.. any idea?
thanks a lot for the demo.

02 Feb 2008 toño leiva

necesito un manual del puma 260

03 Jan 2008 xu song

why I can't run it?
Error in ==> C:\MATLAB6p5\work\puma3d.m (loaddata)
On line 478 ==> [linkdata]=load('linksdata.mat','s1','s2', 's3','s4','s5','s6','s7','A1');

Error in ==> C:\MATLAB6p5\work\puma3d.m
On line 25 ==> loaddata
??? Error using ==> load
Unable to read MAT file C:\MATLAB6p5\work\linksdata.mat

File may be corrupt.

who can help me?thanks!

15 Dec 2007 engin mergenci

it is a good demo

01 Dec 2007 Jordi Palacin

Very nice and helpful !

06 Nov 2007 khan islam

i saw it and makeit

21 Jun 2007 Brian Ho

Full details and steps available in the program. good example for inverse kinematic

18 May 2007 Aquiles Perez

How applicable do you think will be to combine this with the daq toolbox to move a real puma robot?

Contact us