anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceServoMotor::GetPositionDeg

Getting the servo angular position.

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

The angular servo position in degrees.

GetPositionDeg returns the servo's angular position, in degrees. 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 [ -180, + 180 [

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