anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupServo::WaitPositionsRadCompleteWithErrors

Wait servos reach specific angular positions (radians).

C++
M32 WaitPositionsRadCompleteWithErrors(float * pPositions, float * pAcceptableErrors, int Count, MU32 Timeout);
Parameters 
Description 
float * pPositions 
[in] Pointer to an array of angular positions (float). Every position is given to the corresponding servo in the group, at the same index. (radians) 
float * pAcceptableErrors 
[in] Pointer to an array of angular acceptable errors (float). (radians) 
int Count 
[in] pPositions and pAcceptableErrors members count. 
MU32 Timeout 
[in] Timeout (ms). 

System error code or MODA_EOK.

WaitPositionRadCompleteWithErrors pauses the calling thread until every servo in the group have reach the specified positions parameters. Thread resuming is done according to the position, acceptable angular error and timeout values. 

 

See WaitPositionXXX notes.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!