anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupServo::WaitPositionsDegCompleteWithError

Wait servos reach specific angular positions (degrees).

C++
M32 WaitPositionsDegCompleteWithError(float * pPositions, float AcceptableError, int Count, MU32 Timeout);
Parameters 
Description 
float * pPositions 
[in] Pointer to an array of angular positions (float). Every position is for the corresponding servo in the group, at the same index. (degrees) 
float AcceptableError 
[in] Angular acceptable error (degrees). 
int Count 
[in] positions count in pPositions. 
MU32 Timeout 
[in] Timeout (ms). 

System error code or MODA_EOK.

WaitPositionDegCompleteWithError 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!