ModelSpace
Documentation for ModelSpace models and classes.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
modelspace::FrameDynamics Class Reference

#include <FrameDynamics.h>

Inheritance diagram for modelspace::FrameDynamics:

Public Member Functions

int16 calculateRates (floating_point time, const std::array< floating_point, 13 > &state, std::array< floating_point, 13 > &out_rates) override
 Function to calculate frame rates of change for a frame. More...
 
void setFramePtr (Frame *frame_ptr)
 Getter and setter for the frame pointer. More...
 
FramegetFramePtr ()
 
- Public Member Functions inherited from cfspp::Rates< 13 >
virtual int16 calculateRates (floating_point time, const std::array< floating_point, N > &state, std::array< floating_point, N > &out_rates)
 Function to calculate rates from current state of system. More...
 

Member Function Documentation

◆ calculateRates()

int16 modelspace::FrameDynamics::calculateRates ( floating_point  time,
const std::array< floating_point, 13 > &  state,
std::array< floating_point, 13 > &  out_rates 
)
override

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

◆ getFramePtr()

Frame* modelspace::FrameDynamics::getFramePtr ( )
inline

◆ setFramePtr()

void modelspace::FrameDynamics::setFramePtr ( Frame frame_ptr)
inline

Getter and setter for the frame pointer.


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