anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupServo::GoPositionIndex (int, float)

GoPositionIndex changes the indexed position command of the servos present within the group.

C++
bool GoPositionIndex(int Index, float SpeedRadPerSec);
Parameters 
Description 
int Index 
[in] Nouvelle position à atteindre 
float SpeedRadPerSec 
[in] Movement speed in radians/s (see the notes on speed management

true if everything went well, false if not.

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!