Search
In this task, we will study the effect of motion (rotation and translation) on a rigid body. To study this, we construct a very simple rigid body r1 consisting of only two points r1={O, X}. To describe the relative position of these two points, we introduce a coordinate system (O, β) with the origin at one of these points - O and standard basis β. The second point X can thus be expressed as a vector Xβ in this coordinate system. Xβ = [1,2,3] in (O, β). Now we apply the given motion on this rigid body represented by the coordinate system. That will result in a new coordinate system (O', β'). We construct a new rigid body r2 ={O', Y} where Y has the same relative pose as X in r1. Yβ' = [1,2,3] in (O', β'). Finally, we apply the motion on point X denoting it as Z. What are the coordinates of point Z?
Use MATLAB to solve the following problems related to rigid motion. Use different colors to display your results.
% approximate rotation R = [0.8047 -0.5059 -0.3106 0.3106 0.8047 -0.5059 0.5059 0.3106 0.8047];
% less approximate rotation [U,D,V] = svd(R); R = U*V';
% translation o_β' o = [1;1;1];
Upload via the course ware the zip archive hw03.zip containing
hw03.zip