anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupActuatingCylinder::GoPositions

GoPositions changes the position of the actuating cylinders present within the group. Each actuating cylinder has its own position and its own movement speed.

C++
bool GoPositions(float * pPositions, float * pSpeeds, int PositionsCount);
Parameters 
Description 
float * pPositions 
[in] Pointer on a table of float that contains the new positions 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 PositionsCount 
[in] The number of elements contained in pPositions. Attention: if pSpeeds is not NULL, its size must be superior or equal than pPositions. 

True if no error occurred, false otherwise.

Each entry of the positions 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!