FOUND
Loading...
Searching...
No Matches
found::ApproximateOrbitPropagationAlgorithm Class Reference

OrbitPropagationAlgorithm is a stage that propagates an orbit over a specified time period. More...

#include <orbit.hpp>

Inheritance diagram for found::ApproximateOrbitPropagationAlgorithm:
Collaboration diagram for found::ApproximateOrbitPropagationAlgorithm:

Public Member Functions

 ApproximateOrbitPropagationAlgorithm (decimal totalTime, decimal dt, decimal radius, decimal mu)
 Constructs this OrbitPropagationAlgorithm.
 
 ~ApproximateOrbitPropagationAlgorithm ()
 Destroys this.
 
LocationRecords Run (const LocationRecords &data) override
 Projects an orbit.
 
- Public Member Functions inherited from found::OrbitPropagationAlgorithm
 OrbitPropagationAlgorithm ()=default
 Constructs this.
 
virtual ~OrbitPropagationAlgorithm ()
 Destroys this.
 
- Public Member Functions inherited from found::Stage< LocationRecords, LocationRecords >
 Stage ()=default
 Constructs a new Stage.
 
virtual ~Stage ()=default
 Destroys this.
 
void DoAction () override
 Executes Run (with a stored input and storing the output)
 
LocationRecordsGetResource ()
 Returns the stored input of this.
 
LocationRecords *& GetProduct ()
 Returns the stored output of this.
 

Private Attributes

decimal totalTime_
 The total time to predict over.
 
decimal dt_
 The time step for integration (seconds)
 
decimal radius_
 The radius of the celestial body (default is for Earth, in km)
 
decimal mu_
 The gravitational parameter (default is for Earth in km^3/s^2)
 

Additional Inherited Members

- Protected Attributes inherited from found::Stage< LocationRecords, LocationRecords >
LocationRecords resource
 The stored input for this.
 
LocationRecordsproduct
 The pointer to the stored output for this.
 

Detailed Description

OrbitPropagationAlgorithm is a stage that propagates an orbit over a specified time period.

It integrates the equations of motion to predict the satellite's trajectory using Runge-Kutta 4 (RK4).

Constructor & Destructor Documentation

◆ ApproximateOrbitPropagationAlgorithm()

found::ApproximateOrbitPropagationAlgorithm::ApproximateOrbitPropagationAlgorithm ( decimal  totalTime,
decimal  dt,
decimal  radius,
decimal  mu 
)
inlineexplicit

Constructs this OrbitPropagationAlgorithm.

Parameters
totalTimeThe total time to predict over
dtThe time step for integration (seconds)
radiusThe radius of the celestial body (default is for Earth, in km)
muThe gravitational parameter (default is for Earth in km^3/s^2)

◆ ~ApproximateOrbitPropagationAlgorithm()

found::ApproximateOrbitPropagationAlgorithm::~ApproximateOrbitPropagationAlgorithm ( )

Destroys this.

Member Function Documentation

◆ Run()

LocationRecords found::ApproximateOrbitPropagationAlgorithm::Run ( const LocationRecords data)
overridevirtual

Projects an orbit.

Parameters
dataThe past data to use
Returns
Predicted positions in the future

Implements found::Stage< LocationRecords, LocationRecords >.

Member Data Documentation

◆ dt_

decimal found::ApproximateOrbitPropagationAlgorithm::dt_
private

The time step for integration (seconds)

◆ mu_

decimal found::ApproximateOrbitPropagationAlgorithm::mu_
private

The gravitational parameter (default is for Earth in km^3/s^2)

◆ radius_

decimal found::ApproximateOrbitPropagationAlgorithm::radius_
private

The radius of the celestial body (default is for Earth, in km)

◆ totalTime_

decimal found::ApproximateOrbitPropagationAlgorithm::totalTime_
private

The total time to predict over.


The documentation for this class was generated from the following file: