Week 2- 2R Robotic Arm Challenge
robot arm
taking the inputs as l1 and l2
theta1 and theta 2 values on consideration depends on the output of the graph .Which intend in change of angles by changing the values of theta.
By the coordinates
x0,y0,x1,y1,x2,y2 implementing formula
x1=l1*cosd(theta1)
y1=l1*sind(theta1)
x2=x1+l2*cosd(theta2)
y2=y1+l2*sind(theta2)
By using for loop robot arm we can make video graph output
by inserting the loops using the commands