Public Member Functions | Static Public Member Functions | Private Attributes
HallsToAngle Class Reference

Converts Halls sensor data to an angle. More...

#include <HallsToAngle.h>

List of all members.

Public Member Functions

float getAngleFromHalls (float halls)
 HallsToAngle ()
void useCoeffs (float coeff0, float coeff1, float coeff2, float coeff3, float scaleFactor)
void useOffsetGain (float offset, float multiplier)
 ~HallsToAngle ()

Static Public Member Functions

static float getAngleFromHalls (float halls, float coeff0, float coeff1, float coeff2, float coeff3, float scaleFactor)
static float getAngleFromHalls (float halls, float offset, float multiplier)

Private Attributes

float coeff0
float coeff1
float coeff2
float coeff3
float multiplier
float offset
float scaleFactor
bool use_coeff

Detailed Description

Converts Halls sensor data to an angle.

Definition at line 10 of file HallsToAngle.h.


Constructor & Destructor Documentation

Definition at line 30 of file HallsToAngle.h.

Definition at line 34 of file HallsToAngle.h.


Member Function Documentation

float HallsToAngle::getAngleFromHalls ( float  halls) [inline]

Definition at line 56 of file HallsToAngle.h.

float HallsToAngle::getAngleFromHalls ( float  halls,
float  coeff0,
float  coeff1,
float  coeff2,
float  coeff3,
float  scaleFactor 
) [inline, static]

Definition at line 68 of file HallsToAngle.h.

float HallsToAngle::getAngleFromHalls ( float  halls,
float  offset,
float  multiplier 
) [inline, static]

Definition at line 76 of file HallsToAngle.h.

void HallsToAngle::useCoeffs ( float  coeff0,
float  coeff1,
float  coeff2,
float  coeff3,
float  scaleFactor 
) [inline]

Definition at line 39 of file HallsToAngle.h.

void HallsToAngle::useOffsetGain ( float  offset,
float  multiplier 
) [inline]

Definition at line 49 of file HallsToAngle.h.


Member Data Documentation

float HallsToAngle::coeff0 [private]

Definition at line 23 of file HallsToAngle.h.

float HallsToAngle::coeff1 [private]

Definition at line 23 of file HallsToAngle.h.

float HallsToAngle::coeff2 [private]

Definition at line 23 of file HallsToAngle.h.

float HallsToAngle::coeff3 [private]

Definition at line 23 of file HallsToAngle.h.

float HallsToAngle::multiplier [private]

Definition at line 24 of file HallsToAngle.h.

float HallsToAngle::offset [private]

Definition at line 24 of file HallsToAngle.h.

float HallsToAngle::scaleFactor [private]

Definition at line 23 of file HallsToAngle.h.

bool HallsToAngle::use_coeff [private]

Definition at line 25 of file HallsToAngle.h.


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


robodyn_mechanisms
Author(s):
autogenerated on Thu Jun 6 2019 21:22:49