Rise
The Vieneo Province
Loading...
Searching...
No Matches
SparkoProp::Controller Class Reference

#include <SparkoProp.h>

Collaboration diagram for SparkoProp::Controller:
[legend]

Public Member Functions

 Controller (int index, Vec xyzKm, Vec ypr)
PropAudio::Input AudioInput (bool active) const
void Reset (const char *reason="explicit", bool internal=false)
void Update (double dt, const Sample &input)

Public Attributes

int component =-1
unsigned long long frames =0
unsigned long long resets =0
unsigned long long externalResets =0
std::string resetReason ="load"
std::string externalResetReason ="none"
const char * action ="load"
RigidProp::Body before
RigidProp::Pose resetFrom
RigidProp::Pose externalResetFrom
RigidProp::Motion frameMotion {}
double relocationErrorKm =0
RigidProp::Simulation simulation

Private Attributes

bool sampled =false
bool wasSuppressed =false
Sample previous {}

Detailed Description

Definition at line 27 of file SparkoProp.h.

Constructor & Destructor Documentation

◆ Controller()

SparkoProp::Controller::Controller ( int index,
Vec xyzKm,
Vec ypr )
inline

Definition at line 43 of file SparkoProp.h.

Here is the call graph for this function:

Member Function Documentation

◆ AudioInput()

PropAudio::Input SparkoProp::Controller::AudioInput ( bool active) const
inline

Definition at line 45 of file SparkoProp.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reset()

void SparkoProp::Controller::Reset ( const char * reason = "explicit",
bool internal = false )
inline

Definition at line 53 of file SparkoProp.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Update()

void SparkoProp::Controller::Update ( double dt,
const Sample & input )
inline

Definition at line 57 of file SparkoProp.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ action

const char* SparkoProp::Controller::action ="load"

Definition at line 36 of file SparkoProp.h.

◆ before

RigidProp::Body SparkoProp::Controller::before

Definition at line 37 of file SparkoProp.h.

◆ component

int SparkoProp::Controller::component =-1

Definition at line 31 of file SparkoProp.h.

◆ externalResetFrom

RigidProp::Pose SparkoProp::Controller::externalResetFrom

Definition at line 39 of file SparkoProp.h.

◆ externalResetReason

std::string SparkoProp::Controller::externalResetReason ="none"

Definition at line 35 of file SparkoProp.h.

◆ externalResets

unsigned long long SparkoProp::Controller::externalResets =0

Definition at line 33 of file SparkoProp.h.

◆ frameMotion

RigidProp::Motion SparkoProp::Controller::frameMotion {}

Definition at line 40 of file SparkoProp.h.

◆ frames

unsigned long long SparkoProp::Controller::frames =0

Definition at line 32 of file SparkoProp.h.

◆ previous

Sample SparkoProp::Controller::previous {}
private

Definition at line 29 of file SparkoProp.h.

◆ relocationErrorKm

double SparkoProp::Controller::relocationErrorKm =0

Definition at line 41 of file SparkoProp.h.

◆ resetFrom

RigidProp::Pose SparkoProp::Controller::resetFrom

Definition at line 38 of file SparkoProp.h.

◆ resetReason

std::string SparkoProp::Controller::resetReason ="load"

Definition at line 34 of file SparkoProp.h.

◆ resets

unsigned long long SparkoProp::Controller::resets =0

Definition at line 32 of file SparkoProp.h.

◆ sampled

bool SparkoProp::Controller::sampled =false
private

Definition at line 28 of file SparkoProp.h.

◆ simulation

RigidProp::Simulation SparkoProp::Controller::simulation

Definition at line 42 of file SparkoProp.h.

◆ wasSuppressed

bool SparkoProp::Controller::wasSuppressed =false
private

Definition at line 28 of file SparkoProp.h.


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