111 extern CLARKE_Handle
CLARKE_init(
void *pMemory,
const size_t numBytes);
134 else if(numSensors == 2)
203 #endif // end of _CLARKE_H_ definition
Defines the CLARKE object.
Contains the public interface to the math (MATH) module routines.
Defines a two element vector.
_iq beta_sf
the scale factor for the beta component
float_t beta_sf
the scale factor for the beta component
_iq alpha_sf
the scale factor for the alpha component
struct _CLARKE_Obj_ CLARKE_Obj
Defines the CLARKE object.
Defines a three element vector.
static uint_least8_t CLARKE_getNumSensors(CLARKE_Handle handle)
Gets the number of sensors.
float_t alpha_sf
the scale factor for the alpha component
CLARKE_Handle CLARKE_init(void *pMemory, const size_t numBytes)
Initializes the Clarke transform module.
static void CLARKE_setScaleFactors(CLARKE_Handle handle, const float_t alpha_sf, const float_t beta_sf)
Sets the scale factors.
uint_least8_t numSensors
the number of sensors
struct _CLARKE_Obj_ * CLARKE_Handle
Defines the CLARKE handle.
static void CLARKE_run_twoInput(CLARKE_Handle handle, const MATH_vec2 *pInVec, MATH_vec2 *pOutVec)
Runs the Clarke transform module for two inputs.
static void CLARKE_setNumSensors(CLARKE_Handle handle, const uint_least8_t numSensors)
Sets the number of sensors.
static void CLARKE_run(CLARKE_Handle handle, const MATH_vec3 *pInVec, MATH_vec2 *pOutVec)
Runs the Clarke transform module for three inputs.
float float_t
Defines the portable data type for 32 bit, signed floating-point data.