anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupMotor::GetWheelsOdoTops

GetWheelsOdoTops makes it possible to read the number of odometer signals per turn of the wheel of each motor of the group.

C++
M32 GetWheelsOdoTops(M32 * pWheelOdoTops, int WheelTopsCount);
Parameters 
Description 
M32 * pWheelOdoTops 
[out] M32 table to be filled in by the function with the number of odometer signals of each motor. 
int WheelTopsCount 
[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 number of odometer signals of each motor 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!