Definition in file testInterface.cpp.
#include "Matrix.h"
#include "Rotation.h"
#include "Attitude.h"
#include "Orbit.h"
#include "CombinedNumericPropagator.h"
#include "RungeKuttaFehlbergIntegrator.h"
#include "orbitmodels/TwoBodyDynamics.h"
#include "CentralBody/EarthCentralBody.h"
#include "OrbitState.h"
#include "AttitudeState.h"
#include "orbitstaterep/PositionVelocity.h"
#include "orbitframes/OrbitFrameIJK.h"
#include "Disturbances/GravityFunctions.h"
#include "Disturbances/SimpleAerodynamicDisturbances.h"
#include "Plot.h"
#include <string>
#include <stdlib.h>
#include <sstream>
Include dependency graph for testInterface.cpp:
Go to the source code of this file.
Functions | |
void | SetupPropagator () |
Sets up a combined numeric propagator, RK4(5) integrator and tolerances. | |
void | SetupEnvironment () |
void | SetupOrbit () |
Creates an initial orbit read in from a file. | |
void | SetupAttitude () |
Creates an initial attitude read in from a file. | |
void | ChangePropagator () |
void | ChangeEnvironment () |
void | ChangeOrbit () |
void | ChangeOrbitIntegrator () |
void | ChangeAttitude () |
void | ChangeAttitudeIntegrator () |
void | Propagate () |
void | Plot () |
Vector | SimpleController (const ssfTime &_currentTime, const OrbitState &_currentOrbitState, const AttitudeState &_currentAttitudeState, const EnvFuncParamaterType &_parameterList) |
void | myOrbitStateConvFunc (const Matrix &_meshPoint, OrbitState &_convertedOrbitState) |
void | myAttitudeStateConvFunc (const Matrix &_meshPoint, AttitudeState &_convertedAttitudeState) |
void | DisplayOrbit () |
void | DisplayAttitude () |
void | DisplayPropagator () |
int | DisplayMenu () |
void | Select () |
int | main () |
Vector | AttituteDynamics (const ssfTime &_time, const Vector &_integratingState, Orbit *_Orbit, Attitude *_Attitude, const Matrix &_parameters, const Functor &_forceFunctorPtr) |
Variables | |
Orbit * | myOrbit = NULL |
Attitude * | myAttitude = NULL |
Environment * | myEnvironment = NULL |
CombinedNumericPropagator * | myPropagator = NULL |
RungeKuttaFehlbergIntegrator * | orbitIntegrator = NULL |
RungeKuttaFehlbergIntegrator * | attitudeIntegrator = NULL |
vector< ssfTime > | propTimes |
|
Definition at line 391 of file testInterface.cpp. References _, O_SESSAME::Functor::Call(), O_SESSAME::eye(), O_SESSAME::Attitude::GetStateObject(), O_SESSAME::Orbit::GetStateObject(), CAMmatrixBase::inverse(), O_SESSAME::Matrix, O_SESSAME::MatrixIndexBase, O_SESSAME::norm2(), O_SESSAME::skew(), O_SESSAME::Vector, and O_SESSAME::VectorIndexBase. Referenced by ChangeAttitude(). |
|
|
|
|
Definition at line 241 of file testInterface.cpp. References O_SESSAME::Environment::AddForceFunction(), O_SESSAME::EnvFunction::AddParameter(), O_SESSAME::Environment::AddTorqueFunction(), GravityForceFunction(), myEnvironment, SimpleController(), and O_SESSAME::Vector. Referenced by Select(). |
|
|
|
|
Definition at line 299 of file testInterface.cpp. References attitudeIntegrator, DisplayPropagator(), orbitIntegrator, propTimes, O_SESSAME::RungeKuttaFehlbergIntegrator::SetStepSizes(), O_SESSAME::RungeKuttaFehlbergIntegrator::SetTolerance(), and stepSize. Referenced by Select(). |
|
Definition at line 68 of file testInterface.cpp. References O_SESSAME::AttitudeState::GetState(), O_SESSAME::Attitude::GetStateObject(), O_SESSAME::Attitude::IsIntegrateable(), and myAttitude. Referenced by ChangeAttitude(), and DisplayMenu(). |
|
Definition at line 84 of file testInterface.cpp. References DisplayAttitude(), DisplayOrbit(), and DisplayPropagator(). Referenced by Select(). |
|
Definition at line 59 of file testInterface.cpp. References O_SESSAME::OrbitStateRepresentation::GetPositionVelocity(), O_SESSAME::Orbit::GetStateObject(), O_SESSAME::OrbitState::GetStateRepresentation(), O_SESSAME::Orbit::IsIntegrateable(), and myOrbit. Referenced by ChangeOrbit(), and DisplayMenu(). |
|
Definition at line 76 of file testInterface.cpp. References propTimes. Referenced by ChangePropagator(), and DisplayMenu(). |
|
|
Definition at line 384 of file testInterface.cpp. References _, O_SESSAME::Matrix, O_SESSAME::AttitudeState::SetState(), and O_SESSAME::Vector. Referenced by ChangeAttitude(). |
|
Definition at line 337 of file testInterface.cpp. References _, O_SESSAME::Matrix, O_SESSAME::MatrixColsIndex, O_SESSAME::MatrixIndexBase, O_SESSAME::OrbitState::SetState(), and O_SESSAME::Vector. Referenced by ChangeOrbit(). |
|
|
|
Definition at line 106 of file testInterface.cpp. References ChangeAttitude(), ChangeEnvironment(), ChangeOrbit(), ChangePropagator(), DisplayMenu(), and Propagate(). Referenced by main(). |
|
Creates an initial attitude read in from a file.
Definition at line 188 of file HokieSatSimulation.cpp. |
|
Definition at line 232 of file testInterface.cpp. References myEnvironment, and O_SESSAME::Environment::SetCentralBody(). Referenced by main(). |
|
Creates an initial orbit read in from a file.
Definition at line 159 of file HokieSatSimulation.cpp. |
|
Sets up a combined numeric propagator, RK4(5) integrator and tolerances.
Definition at line 137 of file HokieSatSimulation.cpp. |
|
Definition at line 454 of file testInterface.cpp. References O_SESSAME::ssfTime::GetSeconds(), and O_SESSAME::Vector. Referenced by ChangeEnvironment(). |
|
Definition at line 37 of file testInterface.cpp. Referenced by ChangePropagator(). |
|
Definition at line 33 of file testInterface.cpp. Referenced by ChangeAttitude(), DisplayAttitude(), main(), Plot(), and Propagate(). |
|
Definition at line 34 of file testInterface.cpp. Referenced by ChangeEnvironment(), main(), and SetupEnvironment(). |
|
Definition at line 32 of file testInterface.cpp. Referenced by ChangeOrbit(), DisplayOrbit(), main(), Plot(), and Propagate(). |
|
Definition at line 35 of file testInterface.cpp. Referenced by main(), and Propagate(). |
|
Definition at line 36 of file testInterface.cpp. Referenced by ChangePropagator(). |
|
Definition at line 38 of file testInterface.cpp. Referenced by ChangePropagator(), DisplayPropagator(), and Propagate(). |