In this lab, we will demonstrate the animation of a robot with the configuration shown in...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In this lab, we will demonstrate the animation of a robot with the configuration shown in Figure 1, which includes two revolute (rotation) joints followed by one prismatic (linear) joint. This configuration is the example we encountered in Module 5 of MECH 302 as an example. The four parameters of all the three joints can be found in the following table. Before starting to use animation to simulate the movement, be sure you can clearly visualize the motion of this robotic system. I. Table. 1. The ranges of the parameters of individual joints of the RRP robot Link d₁ 0₁ 1 3 0 0~90° 0~90° 0 0~3 1. 2 3 2. We can use plot 3 function to simulate the movement in a 3D space. However, it can be difficult to visualize the movement using the animation generated by MATLAB. It can be easier to validate the movement if we can project the movement onto the xy-, xz-, and yz-planes. To generate those plots, we can use the subplot function to generate four plots on the same figure. The results are shown in Figure 2. 5 0 10 10 8 6 4 2 0 -10 at 0 0 0 0 -5 -10 -10 X-Z 0 0 0₂ -TT/2 5 -TT/2 0 10 10 10 0 -5 -10 -10 10 8 4 0 -10 O -5 X-Y 0 Y-Z 0 5 In this lab, we will use the two functions used in the previous labs to generate an animation of a three-link robot. The numbers of the parameters are given in Table 1. 10 10 Command-Line User Interface It is desired that we can use the program to simulate the animation with various configurations. In the first part of this lab, use the commands display and input to design a simple user interface to allow users to change the parameters. Based on the parameters specified in Table 1, design the interface accordingly. For example, the parameters of joint 1 can be coded as display ('Joint 1'); display('========= ========='); anglel input ('Please keyin theta_1 (degree): '); d1 = input ('Please keyin distance 1 (d) : '); all input ('Please keyin alpha_1 (degree) : '); With this code, the numerical value of a₁, d₁, and can be specified by users. Design the code for the other two joints. The code must be able to allow user to key in the minimum and maximum values of the length of d3. In this lab, we will demonstrate the animation of a robot with the configuration shown in Figure 1, which includes two revolute (rotation) joints followed by one prismatic (linear) joint. This configuration is the example we encountered in Module 5 of MECH 302 as an example. The four parameters of all the three joints can be found in the following table. Before starting to use animation to simulate the movement, be sure you can clearly visualize the motion of this robotic system. I. Table. 1. The ranges of the parameters of individual joints of the RRP robot Link d₁ 0₁ 1 3 0 0~90° 0~90° 0 0~3 1. 2 3 2. We can use plot 3 function to simulate the movement in a 3D space. However, it can be difficult to visualize the movement using the animation generated by MATLAB. It can be easier to validate the movement if we can project the movement onto the xy-, xz-, and yz-planes. To generate those plots, we can use the subplot function to generate four plots on the same figure. The results are shown in Figure 2. 5 0 10 10 8 6 4 2 0 -10 at 0 0 0 0 -5 -10 -10 X-Z 0 0 0₂ -TT/2 5 -TT/2 0 10 10 10 0 -5 -10 -10 10 8 4 0 -10 O -5 X-Y 0 Y-Z 0 5 In this lab, we will use the two functions used in the previous labs to generate an animation of a three-link robot. The numbers of the parameters are given in Table 1. 10 10 Command-Line User Interface It is desired that we can use the program to simulate the animation with various configurations. In the first part of this lab, use the commands display and input to design a simple user interface to allow users to change the parameters. Based on the parameters specified in Table 1, design the interface accordingly. For example, the parameters of joint 1 can be coded as display ('Joint 1'); display('========= ========='); anglel input ('Please keyin theta_1 (degree): '); d1 = input ('Please keyin distance 1 (d) : '); all input ('Please keyin alpha_1 (degree) : '); With this code, the numerical value of a₁, d₁, and can be specified by users. Design the code for the other two joints. The code must be able to allow user to key in the minimum and maximum values of the length of d3.
Expert Answer:
Answer rating: 100% (QA)
Here is the code to design a simple commandline user interface to allow users to change the paramete... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these accounting questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
How to read the infrared spectroscopy graph to know the functional group ( alcohol -OH), ketone (-C=O) and aromatic ring ) which one is present or not present? Wavenumbers (cm-1) 1500 2955.01...
-
George operates a business that generated adjusted gross income of $250,000 and taxable income of $170,000 this year (before the domestic production activities deduction). Included in income was...
-
Consider a study of drug dealers and their motivation for participating in the illegal drug market (Applied Psychology in Criminal Justice, September 2009). The sample consisted of 100 convicted drug...
-
Explain the difference between direct and indirect labor and give examples of each for a manufacturer such as Boeing Company.
-
Every year the National Football League invites 335 draft eligible college football players to a scouting combine where they participate in a variety of drills and exercises. One of the more popular...
-
Consider the system shown in Fig. 5.54. Block A weighs 45.0 N and block B weighs 25.0 N. Once block B is set into downward motion, it descends at a constant speed. (a) Calculate the coefficient of...
-
Image transcription text Task 1: Simulation of the quarter car The aim of this task is to write a python function simulate_qc (which should be in a file with name simulate_qc . py) to simulate the...
-
Hannah Turnbull manages Elegant Suites, a hotel in a small town 10 miles inland from Florida's beautiful gulf coast. Elegant Suites has a capacity of 320 suites and offers a small, but well managed,...
-
What event would normally lead to buying a new oven or several ovens?
-
The Nel temperature \(T_{N}\) of an antiferromagnet is defined as that temperature below which the sublattices \(a\) and \(b\) possess nonzero spontaneous magnetizations \(M_{a}\) and \(M_{b}\),...
-
Consider a binary alloy containing \(N_{A}\) atoms of type \(A\) and \(N_{B}\) atoms of type \(B\) so that the relative concentrations of the two components are \(x_{A}=N_{A} /\left(N_{A}+N_{B} ight)...
-
Using the information in Solved Problem 11.2, calculate the elasticity of demand for the iPad at the profit-maximizing solution using its inverse demand curve. Also calculate the inverse demand curve...
-
Using the correspondence established in Section 12.4, apply the results of the preceding problem to the case of a lattice gas. Show, in particular, that the pressure, \(P\), and the volume per...
-
Consider a nonideal gas obeying a modified van der Waals equation of state \[\left(P+a / v^{n} ight)(v-b)=R T \quad(n>1) .\] Examine how the critical constants \(P_{c}, v_{\mathrm{c}}\), and...
-
Beach Breeze Company manufactures large beach umbrellas and sells them to resorts and hotels. The company prepared the following manufacturing overhead budget based on production of 10,000 umbrellas....
-
Please answer the following questions regarding the taxability of Social Security: a. A 68-year-old taxpayer has $20,000 in Social Security income and $100,000 in tax-free municipal bond income. Does...
-
Bev and Ken Hair have been married for 3 years. They live at 3567 River Street, Springfield, MO 63126. Ken is a full-time student at Southwest Missouri State University (SMSU) and Bev works as an...
-
During 2012, Tom sold Sears stock for $10,000. The stock was purchased 4 years ago for $13,000. Tom also sold Ford Motor Company bonds for $35,000. The bonds were purchased 2 months ago for $30,000....
-
There is another possible explanation for purchased goodwill appearing in a sole proprietor's statement of financial position. What do you think it might be?
-
Why do the assets need to be revalued in these cases? The business has not been sold.
-
The shown partners have always shared profits and losses in the ratio: Holt 4; Stott 2: Young 1. From 1 January the assets were to be revalued as the profit sharing ratios are to be altered soon. The...
Study smarter with the SolutionInn App