anyKode Marilou

GetPositionsIndices reads the position of each servo of the group. The position is expressed in indices.

M32 GetPositionsIndices(M32 * pIndices, int PositionsCount);
M32 * pIndices 
[out] M32 table filled in by the function with the position of each servo. 
int PositionsCount 
[in] Table 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 indexed 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!