|
MotorWare f2806x Module API Documentation
|
Data Structures | |
| struct | _ANGLE_Obj_ |
| Defines the angle generator (ANGLE) object. More... | |
Typedefs | |
| typedef struct _ANGLE_Obj_ | ANGLE_Obj |
| Defines the angle generator (ANGLE) object. More... | |
| typedef struct _ANGLE_Obj_ * | ANGLE_Handle |
| Defines the ANGLE handle. More... | |
Functions | |
| static float_t | ANGLE_getAccelEst_rps2 (ANGLE_Handle handle) |
| Gets the estimated acceleration value. More... | |
| static float_t | ANGLE_getAngle_rad (ANGLE_Handle handle) |
| Gets the predicted angle value. More... | |
| static float_t | ANGLE_getAngleEst_rad (ANGLE_Handle handle) |
| Gets the estimated angle value. More... | |
| static float_t | ANGLE_getAngleWithDelay_rad (ANGLE_Handle handle) |
| Gets the updated angle value considering system delay. More... | |
| static float_t | ANGLE_getAngleDelayed_sf_sec (ANGLE_Handle handle) |
| Gets the scale factor for computing the delayed angle. More... | |
| static float_t | ANGLE_getSpeed_rps (ANGLE_Handle handle) |
| Gets the predicted speed value. More... | |
| static float_t | ANGLE_getSpeedEst_rps (ANGLE_Handle handle) |
| Gets the estimated speed value. More... | |
| static int_least32_t | ANGLE_getTimeStamp (ANGLE_Handle handle) |
| Gets the time stamp value for the estimated data. More... | |
| static float_t | ANGLE_getTimeStampPeriod_sec (ANGLE_Handle handle) |
| Gets the time stamp period value. More... | |
| ANGLE_Handle | ANGLE_init (void *pMemory, const size_t numBytes) |
| Initializes the angle generator (ANGLE) module. More... | |
| ANGLE_Handle | cla_ANGLE_init (void *pMemory, const size_t numBytes) |
| void | ANGLE_run (ANGLE_Handle handle, const int_least32_t timeStamp) |
| Updates the angle value in the angle generator. More... | |
| void | cla_ANGLE_run (ANGLE_Handle handle, const int_least32_t timeStamp) |
| static void | ANGLE_setAccelEst_rps2 (ANGLE_Handle handle, const float_t accel_rps2) |
| Sets the estimated acceleration value. More... | |
| static void | ANGLE_setAngle_rad (ANGLE_Handle handle, const float_t angle_rad) |
| Sets the predicted angle value. More... | |
| static void | ANGLE_setAngleEst_rad (ANGLE_Handle handle, const float_t angle_rad) |
| Sets the estimated angle value. More... | |
| static void | ANGLE_setAngleWithDelay_rad (ANGLE_Handle handle, const float_t angle_rad) |
| Sets the angle value considering system delay. More... | |
| static void | ANGLE_setAngleDelayed_sf_sec (ANGLE_Handle handle, const float_t angleDelayed_sf_sec) |
| Sets the scale factor for computing the delayed angle. More... | |
| void | ANGLE_setParams (ANGLE_Handle handle, const float_t timeStampPeriod_sec, const float_t angleDelayed_sf_sec) |
| Sets the parameters. More... | |
| void | cla_ANGLE_setParams (ANGLE_Handle handle, const float_t timeStampPeriod_sec, const float_t angleDelayed_sf_sec) |
| static void | ANGLE_setSpeed_rps (ANGLE_Handle handle, const float_t speed_rps) |
| Sets the predicted speed value. More... | |
| static void | ANGLE_setSpeedEst_rps (ANGLE_Handle handle, const float_t speed_rps) |
| Sets the estimated speed value. More... | |
| static void | ANGLE_setTimeStamp (ANGLE_Handle handle, const int_least32_t timeStamp) |
| Sets the time stamp value for the estimated data. More... | |
| static void | ANGLE_setTimeStampPeriod_sec (ANGLE_Handle handle, const float_t timeStampPeriod_sec) |
| Sets the time stamp period value. More... | |
| void | ANGLE_setup (ANGLE_Handle handle, const int_least32_t timeStamp, const float_t angle_rad, const float_t speed_rps, const float_t accel_rps2) |
| Updates the angle generator with new data. More... | |
| void | cla_ANGLE_setup (ANGLE_Handle handle, const int_least32_t timeStamp, const float_t angle_rad, const float_t speed_rps, const float_t accel_rps2) |
| struct _ANGLE_Obj_ |
| Data Fields | ||
|---|---|---|
| float_t | accelEst_rps2 | the estimated angular acceleration value, rad/sec^2 |
| float_t | angle_rad | the predicted angle value, rad |
| float_t | angleDelayed_sf_sec | the scale factor for computing angle value considering system delay, sec |
| float_t | angleEst_rad | the estimated angle value, rad |
| float_t | angleWithDelay_rad | the predicted angle value considering system delay, rad |
| float_t | speed_rps | the predicted angular speed value, rad/sec |
| float_t | speedEst_rps | the estimated angular speed value, rad/sec |
| int_least32_t | timeStamp | the time stamp for the estimated angle and speed values |
| float_t | timeStampPeriod_sec | the time stamp period, sec |
| typedef struct _ANGLE_Obj_* ANGLE_Handle |
| typedef struct _ANGLE_Obj_ ANGLE_Obj |
Defines the angle generator (ANGLE) object.
|
inlinestatic |
Gets the estimated acceleration value.
| [in] | handle | The estimator (EST) handle |
Definition at line 81 of file angle.h.
References _ANGLE_Obj_::accelEst_rps2.
|
inlinestatic |
Gets the predicted angle value.
| [in] | handle | The angle generator (ANGLE) handle |
Definition at line 92 of file angle.h.
References _ANGLE_Obj_::angle_rad.
|
inlinestatic |
Gets the scale factor for computing the delayed angle.
| [in] | handle | The angle generator (ANGLE) handle |
Definition at line 125 of file angle.h.
References _ANGLE_Obj_::angleDelayed_sf_sec.
|
inlinestatic |
Gets the estimated angle value.
| [in] | handle | The angle generator (ANGLE) handle |
Definition at line 103 of file angle.h.
References _ANGLE_Obj_::angleEst_rad.
|
inlinestatic |
Gets the updated angle value considering system delay.
| [in] | handle | The angle generator (ANGLE) handle |
Definition at line 114 of file angle.h.
References _ANGLE_Obj_::angleWithDelay_rad.
|
inlinestatic |
Gets the predicted speed value.
| [in] | handle | The estimator (EST) handle |
Definition at line 136 of file angle.h.
References _ANGLE_Obj_::speed_rps.
|
inlinestatic |
Gets the estimated speed value.
| [in] | handle | The estimator (EST) handle |
Definition at line 147 of file angle.h.
References _ANGLE_Obj_::speedEst_rps.
|
inlinestatic |
Gets the time stamp value for the estimated data.
| [in] | handle | The angle generator (ANGLE) handle |
Definition at line 158 of file angle.h.
References _ANGLE_Obj_::timeStamp.
|
inlinestatic |
Gets the time stamp period value.
| [in] | handle | The estimator (EST) handle |
Definition at line 169 of file angle.h.
References _ANGLE_Obj_::timeStampPeriod_sec.
| ANGLE_Handle ANGLE_init | ( | void * | pMemory, |
| const size_t | numBytes | ||
| ) |
Initializes the angle generator (ANGLE) module.
| [in] | pMemory | A pointer to the memory for the object |
| [in] | numBytes | The number of bytes allocated for the object, bytes |
| void ANGLE_run | ( | ANGLE_Handle | handle, |
| const int_least32_t | timeStamp | ||
| ) |
Updates the angle value in the angle generator.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | timeStamp | The time stamp for execution |
|
inlinestatic |
Sets the estimated acceleration value.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | accel_rps2 | The estimated acceleration value, rad/sec2 |
Definition at line 195 of file angle.h.
References _ANGLE_Obj_::accelEst_rps2.
|
inlinestatic |
Sets the predicted angle value.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | angle_rad | The angle value, rad |
Definition at line 208 of file angle.h.
References _ANGLE_Obj_::angle_rad.
|
inlinestatic |
Sets the scale factor for computing the delayed angle.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | angleDelayed_sf_sec | The scale factor |
Definition at line 247 of file angle.h.
References _ANGLE_Obj_::angleDelayed_sf_sec.
|
inlinestatic |
Sets the estimated angle value.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | angle_rad | The estimated angle value, rad |
Definition at line 221 of file angle.h.
References _ANGLE_Obj_::angle_rad, and _ANGLE_Obj_::angleEst_rad.
|
inlinestatic |
Sets the angle value considering system delay.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | angle_rad | The angle value with system delay, rad |
Definition at line 234 of file angle.h.
References _ANGLE_Obj_::angle_rad, and _ANGLE_Obj_::angleWithDelay_rad.
| void ANGLE_setParams | ( | ANGLE_Handle | handle, |
| const float_t | timeStampPeriod_sec, | ||
| const float_t | angleDelayed_sf_sec | ||
| ) |
Sets the parameters.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | timeStampPeriod_sec | The time difference between two consecutive time stamp values |
| [in] | angleDelayed_sf_sec | The scale factor for computing the delayed angle |
|
inlinestatic |
Sets the predicted speed value.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | speed_rps | The speed value, rad/sec |
Definition at line 272 of file angle.h.
References _ANGLE_Obj_::speed_rps.
|
inlinestatic |
Sets the estimated speed value.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | speed_rps | The speed value, rad/sec |
Definition at line 285 of file angle.h.
References _ANGLE_Obj_::speed_rps, and _ANGLE_Obj_::speedEst_rps.
|
inlinestatic |
Sets the time stamp value for the estimated data.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | timeStamp | The time stamp value |
Definition at line 298 of file angle.h.
References _ANGLE_Obj_::timeStamp.
|
inlinestatic |
Sets the time stamp period value.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | timeStampPeriod_sec | The time stamp period, sec |
Definition at line 311 of file angle.h.
References _ANGLE_Obj_::timeStampPeriod_sec.
| void ANGLE_setup | ( | ANGLE_Handle | handle, |
| const int_least32_t | timeStamp, | ||
| const float_t | angle_rad, | ||
| const float_t | speed_rps, | ||
| const float_t | accel_rps2 | ||
| ) |
Updates the angle generator with new data.
| [in] | handle | The angle generator (ANGLE) handle |
| [in] | timeStamp | The time stamp for the angle and speed estimates |
| [in] | angle_rad | The estimated angle value, rad |
| [in] | speed_rps | The estimated speed value, rad/sec |
| [in] | accel_rps2 | The estimated acceleration value, rad/sec^2 |
| ANGLE_Handle cla_ANGLE_init | ( | void * | pMemory, |
| const size_t | numBytes | ||
| ) |
| void cla_ANGLE_run | ( | ANGLE_Handle | handle, |
| const int_least32_t | timeStamp | ||
| ) |
| void cla_ANGLE_setParams | ( | ANGLE_Handle | handle, |
| const float_t | timeStampPeriod_sec, | ||
| const float_t | angleDelayed_sf_sec | ||
| ) |
| void cla_ANGLE_setup | ( | ANGLE_Handle | handle, |
| const int_least32_t | timeStamp, | ||
| const float_t | angle_rad, | ||
| const float_t | speed_rps, | ||
| const float_t | accel_rps2 | ||
| ) |
1.8.9.1