MassVehicle:
--------------------------------------------------------------------------
Compute the mass data structure.
This function computes the mass data structure given angles
and axes. The function assumes a core body with appendages connected
through hinges. Each hinge may have as many gimbals as desired.
This angle and axis rotation is appended to any existing rotation of the
body via the bHinge field.
See also HingeRotationMatrix.
Since version 7.
--------------------------------------------------------------------------
Form:
[mass, bBodyToCore] = MassVehicle( g, angle, axis )
--------------------------------------------------------------------------
------
Inputs
------
g (1,1) CAD data structure
angle {} Each cell is a n-by-1 matrix with angles
axis {} Each cell is a 3-by-n matrix of axis for the angles
-------
Outputs
-------
mass (:) Mass data structure
bBodyToCore {} Each cell is a 3-by-3 rotation matrix.
--------------------------------------------------------------------------
Children:
AeroUtils: CAD/BHinge
Math: Linear/SkewSq
Sail: Disturbances/HingeRotationMatrix