RHSRigidBodyLinear:

Path: SCPro/DynamicalModels

% Linearized attitude dynamics for a rigid body.

--------------------------------------------------------------------------
   Form: 
   d = RHSRigidBodyLinear
   xDot = RHSRigidBodyLinear( x, t, d )
--------------------------------------------------------------------------

   -------
   Inputs
   -------
   x       (7,1) State vector [q;omega]
   t       (1,1) Time (s) (unused)
   d       (1,1) Data structure
                   .inertia    (3,3) Inertia matrix
                   .torque     (3,1) Torque vector

   -------
   Outputs
   -------
   xDot	(:,1)	d[q;omega]/dt

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

Children:

AerospaceUtils: Coord/QIToBDot
Common: Control/C2DZOH
Math: Linear/SkewSymm

Back to the SCPro Module page