anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupMotor::GetGearboxReductions

Getting the motors gearbox reduction.

C++
M32 GetGearboxReductions(float * pReductions, int Count);
Parameters 
Description 
float * pReductions 
[out] Table of float to be filled in by the function with the gearbox reduction of each motor 
int Count 
[in] Table size in number of elements 

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

GetGearboxReductions returns the gearbox reduction for each motor in 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!