![]() |
![]() |
Data Structures | |
struct | _SPDCALC_obj_ |
Typedefs | |
typedef struct _SPDCALC_obj_ | SPDCALC_Obj |
typedef struct _SPDCALC_obj_ * | SPDCALC_Handle |
Defines the ESMO handle. More... | |
Functions | |
SPDCALC_Handle | SPDCALC_init (void *pMemory, const size_t numBytes) |
Set the SPDCALC controller. More... | |
void | SPDCALC_reset (SPDCALC_Handle handle) |
Set the SPDCALC controller. More... | |
void | SPDCALC_setParams (SPDCALC_Handle handle, const USER_Params *pUserParams) |
Set the SPDCALC controller. More... | |
static float32_t | SPDCALC_getSpeedHz (SPDCALC_Handle handle) |
Set the SPDCALC controller. More... | |
static void | SPDCALC_run (SPDCALC_Handle handle, float32_t theta) |
Set the SPDCALC controller. More... | |
typedef struct _SPDCALC_obj_ SPDCALC_Obj |
typedef struct _SPDCALC_obj_* SPDCALC_Handle |
Defines the ESMO handle.
SPDCALC_Handle SPDCALC_init | ( | void * | pMemory, |
const size_t | numBytes | ||
) |
Set the SPDCALC controller.
[in] | handle | The SPDCALC controller handle |
void SPDCALC_reset | ( | SPDCALC_Handle | handle | ) |
Set the SPDCALC controller.
[in] | handle | The ESMO controller handle |
void SPDCALC_setParams | ( | SPDCALC_Handle | handle, |
const USER_Params * | pUserParams | ||
) |
Set the SPDCALC controller.
[in] | handle | The SPDCALC controller handle |
|
inlinestatic |
Set the SPDCALC controller.
[in] | handle | The SPDCALC controller handle |
References _SPDCALC_obj_::speed_Hz.
|
inlinestatic |
Set the SPDCALC controller.
[in] | handle | The SPDCALC controller handle |
References _SPDCALC_obj_::err, _SPDCALC_obj_::fbk, _SPDCALC_obj_::Ki, _SPDCALC_obj_::Kp, MATH_ONE_OVER_TWO_PI, MATH_PI, MATH_TWO_PI, _SPDCALC_obj_::out, _SPDCALC_obj_::ref, _SPDCALC_obj_::speed_Hz, _SPDCALC_obj_::thetaDelta, _SPDCALC_obj_::Ui, _SPDCALC_obj_::Umax, _SPDCALC_obj_::Umin, and _SPDCALC_obj_::Up.