Path: SCPro/Landers
% Landing force in the body frame.
Cancels gravity and adds velocity damping. This is effectively and
inelastic collision with a large body.
--------------------------------------------------------------------------
-------
Inputs
-------
x (:,1) State vector [r;v;q;w] (km,km/s,,rad/s)
t (1,1) Time (unused) (s)
d (1,1) Data structure for the simulation
.mass (1,1) Vehicle mass (kg)
.hLanding (1,1) Altitude at which to apply forces (km)
.rP (1,1) Planet radius (km)
.mu (1,1) Gravitational parameter (km^3/s^2)
.damping (1,1) Velocity damping factor
-------
Outputs
-------
force (3,1) Force (N)
torque (3,1) Torque (Nm) (Always zero)
--------------------------------------------------------------------------
AC: ACData/ACTConstants SC: SCData/sCTConstants Common: CommonData/Constants Common: CommonData/xSplashSmall Common: Database/Constant Common: General/DeleteCell Common: Quaternion/QForm Math: Linear/Mag
Back to the SCPro Module page