anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupDistance::GetMeasures

Gets the distances sensors measurements.

C++
M32 GetMeasures(float * pMeasures, int MeasuresCount);
Parameters 
Description 
float * pMeasures 
[in/out] Table of floats that will be filled in with the distance measurements 
int MeasuresCount 
[in] Table size expressed in number of elements. 

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

GetMeasures returns the distance measurements of each distance sensor in the group, in meters. The call is non blocking : consecutive calls to GetMeasures faster than the device refresh rate may return the same values.

The table is filled in with the measurements of the sensors 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!