Definition in file HokieSatSimulation.cpp.
#include "HokieSatSimulation.h"
Include dependency graph for HokieSatSimulation.cpp:
Go to the source code of this file.
Functions | |
int | main () |
Main operating function for HokieSat simulation. | |
Environment * | SetupEnvironment (Attitude *pSatAttitude) |
Creates an Earth environment with point-mass, two-body gravity, gravity-gradient torque, and a tilted-dipole magnetic field model. | |
NumericPropagator * | SetupPropagator () |
Sets up a combined numeric propagator, RK4(5) integrator and tolerances. | |
Orbit * | SetupOrbit () |
Creates an initial orbit read in from a file. | |
Attitude * | SetupAttitude () |
Creates an initial attitude read in from a file. | |
Vector | ControlTorques (const ssfTime &_currentTime, const OrbitState &_currentOrbitState, const AttitudeState &_currentAttitudeState, const EnvFuncParamaterType &_parameterList) |
|
Definition at line 220 of file HokieSatSimulation.cpp. References O_SESSAME::Vector. |
|
|
Creates an initial attitude read in from a file.
Definition at line 188 of file HokieSatSimulation.cpp. References _, O_SESSAME::eye(), CAMmatrixBase::inverse(), O_SESSAME::Matrix, O_SESSAME::AttitudeState::SetAngularVelocity(), O_SESSAME::Attitude::SetDynamicsEq(), O_SESSAME::Attitude::SetParameters(), O_SESSAME::AttitudeState::SetRotation(), O_SESSAME::Attitude::SetStateConversion(), O_SESSAME::Attitude::SetStateObject(), and O_SESSAME::Vector. Referenced by main(). |
|
Creates an Earth environment with point-mass, two-body gravity, gravity-gradient torque, and a tilted-dipole magnetic field model.
Definition at line 95 of file HokieSatSimulation.cpp. |
|
Creates an initial orbit read in from a file.
Definition at line 159 of file HokieSatSimulation.cpp. References O_SESSAME::Orbit::SetDynamicsEq(), O_SESSAME::OrbitState::SetOrbitFrame(), O_SESSAME::OrbitState::SetState(), O_SESSAME::Orbit::SetStateConversion(), O_SESSAME::Orbit::SetStateObject(), O_SESSAME::OrbitState::SetStateRepresentation(), O_SESSAME::Vector, and O_SESSAME::VectorIndexBase. Referenced by main(). |
|
Sets up a combined numeric propagator, RK4(5) integrator and tolerances.
Definition at line 137 of file HokieSatSimulation.cpp. References O_SESSAME::CombinedNumericPropagator::SetAttitudeIntegrator(), O_SESSAME::CombinedNumericPropagator::SetOrbitIntegrator(), O_SESSAME::RungeKuttaFehlbergIntegrator::SetStepSizes(), and O_SESSAME::RungeKuttaFehlbergIntegrator::SetTolerance(). Referenced by main(). |