experience and innovation

Now Hiring!

---------------------------------------------------------------------------
   Right-hand-side of the dynamical equations with three ReactionWheels. 
   This function includes position, orientation and 3 reaction wheels 
   modeled with the ReactionWheel function. This includes friction.
   See also ReactionWheel and RWAResponse.
---------------------------------------------------------------------------

   -------
   Inputs
   -------
   x           (22,1)    State vector [r;v;q;w;angleRWA;wRWA;frictionRWA]
   t           (1,1)     Time
   sim         (1,1)     Data structure for the simulation

   -------
   Outputs
   -------
   xDot        (:,1)     State vector derivative

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