Challenge

Week 2- 2R Robotic Arm Challenge

program animated video link:

https://youtu.be/y-Drl-WvF-g

Explenation:

Inputs l1 l2 is a length of the links.

and theta1&2 is a to show the animated video file to show that.

And the ct is the count of it,

Then open the 'for' to mentiond the input values i,j and aslo provided a THETA1&2 values.

Then the x0,y0 is a starting inputs of the links.

Then the x1,y1and x2,y2 is the link moves through the end of the animated video to step by step.

Then finally go through the plotting the program to on the fig window to show the outputs.

It include the axis values to use axis comment.

And pause comment is used to known the speed of the animation.

Movie is the program file to help run the movie.

Videofile and videowriter is helped to the cleate a video to convert avi and compressed it.

Finally to close the animated video to use close comment.

Errors:

1.sin and cos commets

2.end comment

How did I face it the error of the program:

1. errors i encountered to the line 17 is x1 y1 is the theta value for known the cos and sin

I made a mistake for cos and cos to write it so the 1st link of the video file shrinking.then i correct it.

2. second one is the i opend the for loop comment i just not to close it to wrote a end commend

I corrected it's also then I run the program.

Error:1

Error:2

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.