COM S 476/576 Homework 2 solved

$30.00

Original Work ?
Category: Tags: , You will Instantly receive a download link for .ZIP solution file upon Payment

Description

5/5 - (1 vote)

Problem 3.1 (5 points) Define a semi-algebraic model that removes a triangular “nose” from the region shown in Figure 3.4.

Problem 3.4 (5 points) An alternative to the yaw-pitch-roll formulation from Section 3.2.3 is considered here. Consider the following Euler angle representation of rotation (there are many other variants). The first rotation is Rz(γ), which is just (3.39) with α replaced by γ.

The next two rotations are identical to the yawpitch-roll formulation: Ry(β) is applied, followed by Rz(α). This yields Reuler(α, β, γ) = Rz(α)Ry(β)Rz(γ). (a) Determine the matrix Reuler. (b) Show that Reuler(α, β, γ) = Reuler(α − π, −β, γ − π).

Problem 3.7 (5 points) Consider the articulated chain of bodies shown in Figure 3.29. There are three identical rectangular bars in the plane, called A1, A2, A3. Each bar has width 2 and length 12. The distance between the two points of attachment is 10. The first bar, A1, is attached to the origin. The second bar, A2, is attached to A1, and A3 is attached to A2. Each bar is allowed to rotate about its point of attachment.

The configuration of the chain can be expressed with three angles, (θ1, θ2, θ3). The first angle, θ1, represents the angle between the segment drawn between the two points of attachment of A1 and the x-axis. The second angle, θ2, represents the angle between A2 and A1 (θ2 = 0 when they are parallel).

The third angle, θ3, represents the angle between A3 and A2. Suppose the configuration is (π/4, π/2, −π/4). (a) Use the homogeneous transformation matrices to determine the locations of points a, b, and c. (b) Characterize the set of all configurations for which the final point of attachment (near the end of A3) is at (0, 0) (you should be able to figure this out without using the matrices).

Problem 3.14 (5 points) Develop and implement a kinematic model for a 2D kinematic chain A1, . . . , Am. Each link has the following properties: • W: The width of each link. • L: The length of each link. • D: The distance between the two points of attachment.

Write a script named chain.py that takes above properties and the configuration of the chain and display the arrangement of links in the plane. The script should be executed using the following command: chain.py -W -L -D where = W, = L, = D, and specifies the angles that define the chain configuration.