Declared in Spacecraft

Declaration

void InitialiseBody(
    double mass,
    Vector3 com,
    Matrix3 moi,
    Vector3 attitude,
    Vector3 attitudeRate
);

Description

Initialises the object with a series of elements from the Vector elements library

Parameters

NameDescription
mass[kg] The mass of the object
com[m] The center of mass position of the object
moi[kg/m^2] The Moment of Inertia of the object
attitude[rad] The starting attitude of the object
attitudeRate[rad/s] The starting attitude rate of the object