anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceServoMotor::GetPositionRad

Getting the servo angular position.

C++
float GetPositionRad(M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
M32 * pDeviceResponse = NULL 
(voir Message
void * pReserved = NULL 
(voir Message

The angular servo position in radians.

GetPositionRad returns the servo's angular position, in radians. If the servo property 'Maintain an absolute angle' is checked, the returned angle is absolute (accumulated). Otherwise, the returned angle is local in the range [ -PI, + PI [.

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