anyKode Marilou
DeviceServoMotor::GoPositionRad (float, float, M32 *, void *)

Change the servo's angular position (Deg) at the specified speed.

bool GoPositionRad(float Rad, float SpeedRadPerSec, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
float Rad 
[in] New angular position in radian 
float SpeedRadPerSec 
[in] Rotation speed expressed in degrees/s if SpeedRadPerSec is positive.
If SpeedRadPerSec is equal to 0, then rotation is done at max speed (see manufacturer documentation).
If SpeedRadPerSec less than 0, SpeedRadPerSec represents a 'time' expressed in seconds required to reach specified position. The required speed is computed automatically. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

True if the servo has well received the new position, false otherwise.

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