Runner's High
Classes | Public Types | Static Public Member Functions | Public Attributes | List of all members
Accel Class Reference

Provides classes to get and manipulate data in various ways. More...

Inheritance diagram for Accel:

Classes

class  Acc
 
class  Curve
 Transform a linear value to its corresponding value on a curve. More...
 
interface  DataInput
 An object that takes an input value. More...
 
interface  DataOutput
 An object that has an accessible output value. More...
 
interface  DataStreamInput
 An object that takes an input stream. More...
 
interface  DataStreamOutput
 An object that has an accessible output stream. More...
 
class  FFComp
 
class  Float
 This is just a wrapper to use normal floats as DataOutpus More...
 
class  IIR
 A single pole low pass filter with settable attack and release. More...
 
class  ProgressDetector
 A ProgressDetector is just a state detector with some additional fields. More...
 
class  RingBuffer
 A RingBuffer to store data. More...
 
class  SensorInput
 A SensorInput is used to capture input data from various hardware sensors. More...
 
class  Stat
 A class to calculate statistics on an input data stream. More...
 
class  StateDetector
 A basic binary on/off statemachine that updates independently, taking one or multiple instances of DataOuput as its input. More...
 
interface  StateOutput
 An object that has an accessible binary output state. More...
 
class  StepDetector
 A modified version of the StateDetector that fires events when footsteps occur. More...
 
class  Stepper
 A stepper can be used either to fire events in regular timer intervals, or as an alternating binary state of 0 and 1. More...
 

Public Types

enum class  WindowMode {
  range , mean , variance , stdDeviation ,
  sumOfDeviations , median , sum , max ,
  min , integrate , integratePos , integrateNeg
}
 This enum provides some calcuation types for the Stat class. More...
 
enum class  RunnerState : int { idle = 0 , running = 1 }
 

Static Public Member Functions

static float LinToDb (float a)
 Convert linear data to dB data. More...
 
static float DbToLin (float a)
 Convert dB data to linear data. More...
 

Public Attributes

SensorInput gyro
 
SensorInput accel
 
List< IIRiirFilters = new List<IIR>()
 
List< StatstatFilters = new List<Stat>()
 

Detailed Description

Provides classes to get and manipulate data in various ways.

Member Enumeration Documentation

◆ WindowMode

enum Accel.WindowMode
strong

This enum provides some calcuation types for the Stat class.

Member Function Documentation

◆ DbToLin()

static float Accel.DbToLin ( float  a)
static

Convert dB data to linear data.

Parameters
a
Returns

◆ LinToDb()

static float Accel.LinToDb ( float  a)
static

Convert linear data to dB data.

Parameters
a
Returns

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