Path: SCPro/ProTools
% Compute a slew to a target. Computes the angle, angular rate and angular acceleration for a spacecraft in a circular orbit that is pointing at a target on the ground. If inertia is not entered units are rad/sec^2 and rad/sec otherwise they are Nm and Nms -------------------------------------------------------------------------- Form: varargout = TargetSlew( altitude, rTarget, mu, inertia ) -------------------------------------------------------------------------- ------ Inputs ------ altitude (1,:) Apogee radius rTarget (1,1) Target radius from center (defaullt 6378) mu (1,1) Planet gravitational parameter (default Earth) inertia (1,1) Inertia (kg-m^2) (default is 1) ------- Outputs ------- if length(altitude) == 1 psiDot (1,:) Spacecraft angular rate psiDDot (1,:) Spacecraft angular acceleration psi (1,:) Spacecraft angle else psiDDotMax (1,:) Required maximum torque momentum (1,:) Required momentum storage --------------------------------------------------------------------------
Common: CommonData/SwooshWatermark Common: General/CellToMat Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle
Back to the SCPro Module page