anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceMotor::GetOdometerCounter

Getting the motor odometer/encoder counter.

C++
M32 GetOdometerCounter(M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

The value of the encoder. Its interpretation (signed or not, a number of bits) depends directly to the motor's settings.

Gets the motor odometer/encoder counter, if motor contains this kind of sub device.

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