ThrusterLayout:

Path: Propulsion/Utilities

% Tool for thruster layout.

 Draws the plume vector in red and torque unit vector in green.
 It computes the feasibility of both positive and negative torque about
 all three axes.

 The locations must be with respect to the center of mass unless a cM
 is entered.

 Type ThrusterLayout for a demo of putting thrusters on a cube. There
 are 4 thrusters which is the minimum for 3 axis torques.

--------------------------------------------------------------------------
   Form:
   ThrusterLayout( 'initialize', fileName )
   [t, f, u] = ThrusterLayout( 'update', u, r, cM )
--------------------------------------------------------------------------

   ------
   Inputs
   ------

   action            (1,:) 'initialize'
   fileName          (1,:) File name for the CAD model to be displayed

   action            (1,:) 'update'
   u                 (3,:) Force unit vectors
   r                 (3,:) Thruster locations
   cM                (3,1) Center of mass location

   -------
   Outputs
   -------
   t                 (3,:) Torque vectors for each thruster
   f                 (1,6) Feasibility for each torque
   u                 (n,6) Modulation of thruster for each vector

--------------------------------------------------------------------------

Children:

AeroUtils: CAD/LoadCAD
Common: General/DispWithTitle
Common: Graphics/TitleS
Math: Analysis/Simplex
Math: Linear/Cross
Math: Linear/DupVect
Math: Linear/Unit

Back to the Propulsion Module page