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

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

C++
bool GoPositionRad(float Rad, float SpeedRadPerSec);
Parameters 
Description 
float Rad 
[in] New position to be reached 
float SpeedRadPerSec 
[in] Movement speed in radians/s (see the notes on speed management

True no error occurred, false otherwise.

The set point that has become a 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!