anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupServo::GetPositionsDeg

GetPositionsDeg reads the position in degrees of each servo of the group.

C++
M32 GetPositionsDeg(float * pPositions, int PositionsCount);
Parameters 
Description 
float * pPositions 
[out] Array of float filled in by the function with the position of each servo. 
int PositionsCount 
[in] Array size in number of elements. 

The system error code MODA_EOK if no error occurred, an error (see MODA errors) otherwise.

The table is filled in with the position of each servomotor present within the group. The number of elements filled in is the minimum between the size of the group and the size of the table.

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