View Full Version : to generate a robot

09-29-2000, 08:17 AM
to simulate two articulated robot linkages,first 2d linkage and then a3d linkage.to write a program which draws a display centered at the origin with the co ordinte syastem[-100,100]to[100,100].
taken as input n
<length of link 1> to <length of link n>
< angle at beginning of link 1 >....<....n>
link 1 begins at (o,o)
angle at link 1 =0 means link 1 points along the positive x axis,angle link 2=o means link 2 extends straight out of froml ink 1 and so on.angles r measured in radians counter clock wise..
picture with each link in diff color
prints the position of the end point of the linkage.