Spacecraft Control Framework 1.0
Spacecraft Control Library
Public Member Functions | List of all members
galilean_moons Class Reference

Galilean moon model. More...

#include <sc_galilean_moons.h>

Public Member Functions

 galilean_moons (void)
 Constructor.
 
void initialize (void)
 Initialize with a filename. More...
 
void update (double jD)
 Update the model with. More...
 
ml_matrix get_position (void)
 Get the position [Io;Europa;Ganymede;Callisto]. More...
 
ml_matrix get_velocity (void)
 Get the velocity [Io;Europa;Ganymede;Callisto]. More...
 
ml_matrix get_transformation_ecliptic_to_jupiter (void)
 Get the transformation from ecliptic to jupiter. More...
 

Detailed Description

Galilean moon model.

Uses a Kepler propagator. This is not accurate for mission design but is useful for analyses

Member Function Documentation

◆ initialize()

void galilean_moons::initialize ( void  )

Initialize with a filename.

Initialize the model from JPL Horizon's orbital elements.

References DEGREES_TO_RADIANS, orb_data_s::ecc, orb_data_s::inc, orb_data_s::mean_anom, orb_data_s::orb_rate, orb_data_s::perigee, PI, orb_data_s::raan, and orb_data_s::sma.

◆ update()

void galilean_moons::update ( double  jD)

Update the model with.

Update the position and velocity given the current julian day number.

Parameters
jDJulian day number

References el_to_rv(), orb_data_s::mean_anom, and orb_data_s::orb_rate.

◆ get_position()

ml_matrix galilean_moons::get_position ( void  )

Get the position [Io;Europa;Ganymede;Callisto].

Get the current position.

Returns
position [Io;Europa;Ganymede;Callisto]

◆ get_velocity()

ml_matrix galilean_moons::get_velocity ( void  )

Get the velocity [Io;Europa;Ganymede;Callisto].

Get the current velocity \returnvelocity [Io;Europa;Ganymede;Callisto].

◆ get_transformation_ecliptic_to_jupiter()

ml_matrix galilean_moons::get_transformation_ecliptic_to_jupiter ( void  )

Get the transformation from ecliptic to jupiter.

Get the current velocity \returnvelocity [Io;Europa;Ganymede;Callisto].