WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
warptwin::FrameDynamics Class Reference

#include <FrameDynamics.h>

Inheritance diagram for warptwin::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.
void setFramePtr (Frame *frame_ptr)
 Getter and setter for the frame pointer.
FramegetFramePtr ()
Public Member Functions inherited from warpos::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.

Member Function Documentation

◆ calculateRates()

int16 warptwin::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 * warptwin::FrameDynamics::getFramePtr ( )
inline

◆ setFramePtr()

void warptwin::FrameDynamics::setFramePtr ( Frame * frame_ptr)
inline

Getter and setter for the frame pointer.


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