Function to read data related to a point on an MOT.
Syntax |
i32 mot_get (i32 motId, i32 nPoint, real posX, real posY=NULL, real velY=NULL, real accY=NULL [, other=NULL]) |
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
motId |
MOT reference code (obtained from the mot_create() function) |
||||||||||||||||||
nPoint |
Point number (0 = first point, -1 = last point) |
||||||||||||||||||
posX |
Value (returned by the function) of the interpolation key associated with the point (abscissa, x-coordinate) |
||||||||||||||||||
posY |
Array of doubles intended to hold the data (returned by the function) of the n ordinates (position coordinates relative to the posX abscissa). Specify NULL (default) if you do not want to get the data. If specified <>NULL, the mot_get() function will download the nPoint data into the array |
||||||||||||||||||
velY |
Array of doubles intended to hold the data (returned by the function) of the n velocities (velocity coordinates relative to the posX abscissa). Specify NULL (default) if you do not want to get the data. If specified <>NULL, the mot_get() function will download the nPoint point data into the array |
||||||||||||||||||
accY |
Array of doubles intended to hold the data (returned by the function) of the n accelerations (acceleration coordinates relative to the posX abscissa ). Specify NULL (default) if you do not want to get the data. If specified <>NULL, the mot_get() function will download the nPoint data into the array |
||||||||||||||||||
other |
Data structure intended to hold the auxiliary data (returned by the function). (optional, default NULL) If specified, the mot_get() function downloads into the array the data of the nPoint |
||||||||||||||||||
Result |
Returns:
|
||||||||||||||||||
Validity |
Rule, Task |
||||||||||||||||||
Note |