All axis values in one structure accompanied by some handy manipulation methods.
Definition AxesCoord.h:13
#define _GMI_FUNC
Definition gmi/iface/global.h:34
_GMI_FUNC bool calcLinearValue(double dist, double trg_time, double acc_time, double &vel, double &acc)
???
_GMI_FUNC bool getAccelerationTime(double dist, double vel, double acc, double &time)
Calculates the time needed to move over the distance.
_GMI_FUNC bool getTargetAccelerationTime(double dist, double vel, double acc, double &trg_time, double &acc_time)
Calculates the time and acceleration needed to move over the distance.
_GMI_FUNC bool getPositionVelocity(double dist, double vel, double acc, double cur_tm, double &cur_pos, double &cur_vel)
Calculates the position and velocity at the current time from the start.
_GMI_FUNC bool calcLinearValues(const AxesCoord &dist, double trg_time, double acc_time, AxesCoord &vel, AxesCoord &acc)
???
_GMI_FUNC bool getTargetTime(double dist, double vel, double acc, double &time)
Calculates the time needed to move over the distance.
_GMI_FUNC bool getLinearValues(const AxesCoord &dist, const AxesCoord &max_vel, const AxesCoord &max_acc, AxesCoord &trg_vel, AxesCoord &trg_acc, double &trg_time)
Calculates the velocity and acceleration needed to move a distance in a linear manner....
_GMI_FUNC int compareValue(double v1, double v2, double tolerance, bool rad_unlimited)
Compares the passed values v1 and v2. When the two values have no bigger absolute difference the maxi...