- The
Orbit
class calculates the position and velocity of satellites with the following propagation mode.KEPLER
: Kepler orbit propagation without disturbances and thruster maneuverSGP4
: SGP4 propagation using TLE without thruster maneuverRK4
: RK4 propagation with disturbances and thruster maneuverENCKE
: Encke's orbit propagation with disturbances and thruster maneuverRELATIVE
: Relative dynamics (for formation flying simulation)
- The
KEPLER
mode is the simplest and general for all users. - The
SGP4
mode is useful for LEO satellites users without orbit control. - When users need to analyze the orbit disturbance force effect or the orbit control algorithm, the users should choose
RK4
orENCKE
mode. - For multiple satellite operation,
RELATIVE
mode is useful.`
src/dynamics/orbit/orbit.hpp, cpp
- Definition of
Orbit
base class
- Definition of
src/dynamics/orbit/initialize_orbit.hpp, .cpp
- Make an instance of orbit class.
- Make an instance of the orbit class in
Initialize
function indynamics.cpp
- Select
propagate_mode
in the spacecraft's ini file(eg.sample_spacecraft.ini
). - Select
initialize_mode
in the spacecraft's ini file(eg.sample_spacecraft.ini
).- This setting works only for
RK4
,KEPLER
, andENCKE
mode.
- This setting works only for
- Set the orbit information in the ini file
- You can see the details in the documents for each orbit propagation mode.
- The definition of the coordinate system is decided at
[CELESTIAL_INFORMATION]
section insample_simulation_base.ini
.
In the Orbit base class provides the following common functions for every propagator.
- The
UpdateByAttitude
function simply converts the velocity vector of the spacecraft (in ECI coordinate system) to body coordinate system notation using the argument:quaternion_i2b
.
- These functions provides the interface to include orbital disturbance or control forces.
- The
TransformEcefToGeodetic
function calculates latitude[rad], longitude[rad], and altitude[m]. Currently, we use theGeodetic
class to calculate the information.
- The
TransformEciToEcef
function can convert the position and the velocity of the satellite from the ECI frame to the ECEF frame, which considers the earth's rotation.
- The verification results are described in the document of each propagation method.
NA