필터 지우기
필터 지우기

How to draw 2 links robot

조회 수: 5 (최근 30일)
Cheng Yoong
Cheng Yoong 2011년 3월 4일
댓글: reyam ahmed 2018년 1월 28일
I have a simple 2 links robot. I have determine the DH parameters and derived the T matrices as shown below: http://www.freeimagehosting.net/uploads/7151d1e0fb.jpg How can I use this derived formula to plot the robot in matlab?
  댓글 수: 7
Cheng Yoong
Cheng Yoong 2011년 3월 4일
yup,i read most of the example,but those codes are too tough for me, cause i'm new in matlab.those "a1" and "c12" are shortforms. For example,c12 represent cos(theta1 + theta2). theta is the angle of link.Will it help in drawing?
reyam ahmed
reyam ahmed 2017년 11월 13일
@ Cheng Yoong i want to plot 2-link robot manipulator also, can you help me please? thanks.

댓글을 달려면 로그인하십시오.

답변 (2개)

Jan
Jan 2011년 3월 4일

Again: You simply cannot draw this:

You can use something like this as values for drawing:

T = [0.3, -0.7, 0, 21.3; ...
     0.7   0.3, 0, 22.5; ...
     0,    0,   1, 0; ...
     0,    0,   0, 1];

I could guess, that you have something like this available, but you do not mention it even after I ask for it. Therefore, please, specify the inputs of your problem exactly and post the corresponding Matlab code. Then explain, what you have done so far (with some code again, even if it is incomplete or not working) and where the problems occurred.

Please consider, that you are very familiar with your problem, but the readers of your question do not have the faintest idea of what you are talking about. E.g. "I have a 2 links robot": Have you build it mechanically and measure the physical angles? Is it a simulation of a rigid body system? Do you mean, that you have created the equations of motion? Is it 2D or 3D? 2 links can mean anything from 2 to 10 degrees of freedom. If we guess all these details, the solution will most likely have just a very vague connection to your problem.

  댓글 수: 2
Cheng Yoong
Cheng Yoong 2011년 3월 4일
The example you gave is it a matrices?If it is,then that's what I mean. The values inside matrices I can calculate. Just need the idea how to use matrices to draw.=)
Jan
Jan 2011년 3월 4일
Have you read the "Getting Started" chapters of the documentation?
Read this also: "help line" and "help plot". Example:
"line([0, 10, 12], [0, 2, 7])" This draws a line from point {0,0} over {10,2} to {12,7}.

댓글을 달려면 로그인하십시오.


Jan
Jan 2011년 3월 4일
편집: Jan 2017년 11월 12일
  댓글 수: 5
reyam ahmed
reyam ahmed 2017년 11월 12일
Thank you Mr.jan I will do yhis.
reyam ahmed
reyam ahmed 2018년 1월 28일
yes this link doesn't useful for me.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by