ModelSpace
All Classes Namespaces Functions Variables Enumerations Pages
clockwerk::CalcRangeRangeRate< T > Class Template Reference
Inheritance diagram for clockwerk::CalcRangeRangeRate< T >:
Collaboration diagram for clockwerk::CalcRangeRangeRate< T >:

Public Member Functions

int calculateMeasurements (T time, const std::array< T, 6 > &tar_state, const std::array< T, 6 > &obs_state, std::array< T, 2 > &out_measurements)
 Function to calculate rate of change in 6-element orbit position with J2, J3.
 
virtual int calculateMeasurements (T time, const std::array< T, N > &tar_state, const std::array< T, O > &obs_state, std::array< T, M > &out_measurements)
 Function to calculate range and range rate from current state of system.
 

Member Function Documentation

◆ calculateMeasurements() [1/2]

template<typename T >
int clockwerk::CalcRangeRangeRate< T >::calculateMeasurements ( time,
const std::array< T, 6 > &  tar_state,
const std::array< T, 6 > &  obs_state,
std::array< T, 2 > &  out_measurements 
)

Function to calculate rate of change in 6-element orbit position with J2, J3.

Parameters
timeThe reference time
tar_stateThe target reference state [x, y, z, vx, vy, vz] of spacecraft
obs_stateThe observer reference state [x, y, z, vx, vy, vz] of ground station
out_measurementsImplicit return of [range, range rate]

◆ calculateMeasurements() [2/2]

virtual int clockwerk::Measurements< T, N, M, O >::calculateMeasurements ( time,
const std::array< T, N > &  tar_state,
const std::array< T, O > &  obs_state,
std::array< T, M > &  out_measurements 
)
inlinevirtualinherited

Function to calculate range and range rate from current state of system.

Parameters
timeThe reference time
tar_stateThe target reference state
obs_stateThe observer reference state
out_measurementsImplicit return of measurements based on time, state

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