Spacecraft Control Framework 1.0
Spacecraft Control Library
sc_galilean_moons.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------------------
2// A filter
3//-----------------------------------------------------------------------------------------
4// Copyright (c) 2009 Princeton Satellite Systems. All rights reserved.
5//-----------------------------------------------------------------------------------------
6
11#ifndef __GALILEAN_MOONS__
12#define __GALILEAN_MOONS__
13
14#ifdef AS_OS_WINDOWS
15 #include "matrixlib.h"
16#else
17 #include <MatrixLib/MatrixLib.h>
18#endif
19
20#include "sc_orbit.h"
21
22
29{
30
31 private:
33 ml_matrix position;
35 ml_matrix velocity;
37 int initialized;
39 double jD0;
41 orb_data_t el_ganymede;
42 orb_data_t el_callisto;
43 orb_data_t el_europa;
44 orb_data_t el_io;
45
46 ml_matrix m_ecliptic_to_jupiter;
47
48
49
50 public:
52 galilean_moons( void );
54 void initialize( void );
56 void update( double jD );
58 ml_matrix get_position( void );
60 ml_matrix get_velocity( void );
63
64};
65
66
67#endif
Galilean moon model.
Definition: sc_galilean_moons.h:29
ml_matrix get_position(void)
Get the position [Io;Europa;Ganymede;Callisto].
Definition: sc_galilean_moons.cc:130
void initialize(void)
Initialize with a filename.
Definition: sc_galilean_moons.cc:23
galilean_moons(void)
Constructor.
Definition: sc_galilean_moons.cc:15
void update(double jD)
Update the model with.
Definition: sc_galilean_moons.cc:87
ml_matrix get_transformation_ecliptic_to_jupiter(void)
Get the transformation from ecliptic to jupiter.
Definition: sc_galilean_moons.cc:150
ml_matrix get_velocity(void)
Get the velocity [Io;Europa;Ganymede;Callisto].
Definition: sc_galilean_moons.cc:140
Orbit mechanics functions and types, including Keplerian, spherical and cartesian elements.
Structure for storing orbit data.
Definition: sc_orbit.h:33