Path: SC/Attitude
% Computes the unit normal for a double pivoted assembly. The three pivot positions are given as p1, p2 and p3 all with respect to a common reference plane. Positive is taken using the right hand rule going from point 1 to 2 to 3. Since version 1. -------------------------------------------------------------------------- Form: n = DblPivot( p1, p2, p3 ) -------------------------------------------------------------------------- ------ Inputs ------ p1 (3,1) Pivot point 1 p2 (3,1) Pivot point 2 p3 (3,1) Pivot point 3 ------- Outputs ------- n (3,1) The normal --------------------------------------------------------------------------
Back to the SC Module page