anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupActuatingCylinder::GoPositionsIndices

GoPositions changes the position of the actuating cylinders present within the group. Each actuating cylinders has its own position and its own movement speed. The position is an index.

C++
bool GoPositionsIndices(M32 * pIndices, float * pSpeeds, int IndicesCount);
Parameters 
Description 
M32 * pIndices 
[in] Pointer on a table of float that contains the new positions (index) of each actuating cylinder. 
float * pSpeeds 
[in] Pointer on a table of float that contains the speeds to be assigned to each actuating cylinder. If pSpeeds is NULL, it is the maximum speed which is applied. 
int IndicesCount 
[in] The number of elements contained in pPositions. Attention : if pSpeeds is not NULL, its size must be superior or equal than pIndices. 

True if no error occurred, false otherwise.

Each entry of the index table is assigned to the corresponding actuating cylinder. The same goes for the speed. If the pointer on the speeds is NULL, it is the maximum speed which is applied.

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