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

Public Member Functions

int calculateRates (T time, const std::array< T, 13 > &state, std::array< T, 13 > &out_rates)
 Function to calculate frame rates of change for a frame.
 
void setFramePtr (Frame< T > *frame_ptr)
 Getter and setter for the frame pointer.
 
Frame< T > * getFramePtr ()
 
virtual int calculateRates (T time, const std::array< T, N > &state, std::array< T, N > &out_rates)
 Function to calculate rates from current state of system.
 

Member Function Documentation

◆ calculateRates() [1/2]

template<typename T >
int clockwerk::FrameDynamics< T >::calculateRates ( T  time,
const std::array< T, 13 > &  state,
std::array< T, 13 > &  out_rates 
)
inline

Function to calculate frame rates of change for a frame.

Parameters
timeThe time input for the calculation. Uses current time
stateUNUSED FOR THIS IMPLEMENTATION IN FAVOR OF FRAME PTR
out_ratesImplicit return of rates of change in states

◆ calculateRates() [2/2]

virtual int clockwerk::Rates< T, N >::calculateRates ( T  time,
const std::array< T, N > &  state,
std::array< T, N > &  out_rates 
)
inlinevirtualinherited

Function to calculate rates from current state of system.

Parameters
timeThe reference time
stateThe reference state
out_ratesImplicit return of rates based on time, state

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