Path: SCPro/DynamicalModels
% 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. -------------------------------------------------------------------------- Form: d = RHSRWASC; xDot = RHSRWASC( t, x, d ) -------------------------------------------------------------------------- ------- Inputs ------- x (22,1) State vector [r;v;q;w;angleRWA;wRWA;frictionRWA] t (1,1) Time d (1,1) Data structure for the simulation ------- Outputs ------- xDot (:,1) State vector derivative --------------------------------------------------------------------------