anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupServo::GoPositionDeg (float, float)

GoPositionDeg changes the position command of the servos present within the group. The new set point is in degrees.

C++
bool GoPositionDeg(float Deg, float SpeedDegPerSec);
Parameters 
Description 
float Deg 
[in] New position to be reached 
float SpeedDegPerSec 
[in] Movement speed in degrees/s (see the notes on speed management

True no error occurred, false otherwise.

The position parameter is applied to each servo. The speed applied the is the SpeedDegPerSec parameter if non zero, max speed otherwise.

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