148 extern TRAJ_Handle
TRAJ_init(
void *pMemory,
const size_t numBytes);
228 intValue +=
_IQsat(error,maxDelta,-maxDelta);
231 intValue =
_IQsat(intValue,maxValue,minValue);
245 #endif // end of _TRAJ_H_ definition
static void TRAJ_setTargetValue(TRAJ_Handle handle, const _iq targetValue)
Sets the target value for the trajectory.
Contains the public interface to the types definitions.
static void TRAJ_setMaxDelta(TRAJ_Handle handle, const _iq maxDelta)
Sets the maximum delta value for the trajectory.
_iq maxDelta
the maximum delta value for the trajectory generator
static _iq TRAJ_getIntValue(TRAJ_Handle handle)
Gets the intermediate value for the trajectory.
_iq targetValue
the target value for the trajectory
struct _TRAJ_Obj_ TRAJ_Obj
Defines the trajectory (TRAJ) object.
static _iq TRAJ_getMaxValue(TRAJ_Handle handle)
Gets the maximum value for the trajectory.
static _iq TRAJ_getTargetValue(TRAJ_Handle handle)
Gets the target value for the trajectory.
TRAJ_Handle TRAJ_init(void *pMemory, const size_t numBytes)
Initializes the trajectory (TRAJ) object.
static void TRAJ_setIntValue(TRAJ_Handle handle, const _iq intValue)
Sets the intermediate value for the trajectory.
Defines the trajectory (TRAJ) object.
static _iq TRAJ_getMaxDelta(TRAJ_Handle handle)
Gets the maximum delta value for the trajectory.
static _iq TRAJ_getMinValue(TRAJ_Handle handle)
Gets the minimum value for the trajectory.
static void TRAJ_setMaxValue(TRAJ_Handle handle, const _iq maxValue)
Sets the maximum value for the trajectory.
struct _TRAJ_Obj_ * TRAJ_Handle
Defines the TRAJ handle.
#define _IQsat(A, Pos, Neg)
_iq maxValue
the maximum value for the trajectory generator
_iq minValue
the minimum value for the trajectory generator
static void TRAJ_run(TRAJ_Handle handle)
Runs the trajectory (TRAJ) object.
_iq intValue
the intermediate value along the trajectory
static void TRAJ_setMinValue(TRAJ_Handle handle, const _iq minValue)
Sets the minimum value for the trajectory.