anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupServo::SetVelocitiesRPS

SetVelocitiesRPS changes the rotational velocity (radians per second) of each motor of the group.

C++
M32 SetVelocitiesRPS(float * pSpeeds, int SpeedsCount);
Parameters 
Description 
float * pSpeeds 
[in] Table of float containing the new speeds for each motor 
int SpeedsCount 
[in] Table size in number of elements 

The system error code MODA_EOK if no error occurred, an error (see MODA errors) otherwise.

The table contains the new rotational velocities for each motor of the group. The number of motors actually assigned is the minimum between the size of the group and the size of the table.

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