anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupMotor::GetOdometersCounters

GetOdometersCounters allows to read the value of the odometer/encoder of each motor of the group.

C++
M32 GetOdometersCounters(M32 * pOdoCounter, int CountsCount);
Parameters 
Description 
M32 * pOdoCounter 
[out] M32 table to be filled in by the function with the odometer values 
int CountsCount 
[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 odometer/encoders values of the motors 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!