anyKode Marilou

GetVelocitiesDPS reads the rotational velocity (degrees per second) of each motor of the group. Velocity is the one after gearbox.

M32 GetVelocitiesDPS(float * pSpeeds, int SpeedsCount);
float * pSpeeds 
[out] Table of float to be filled in by the function with the speeds of each motor (in degrees per second) 
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 is filled in with the rotational velocities of the motors present within the group. The number of elements filled in 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!