CollisionsSensor Class Commands
Name
Input type
Output type
Level
Description
State DEV_VOID DEV_STATE OPERATOR This command gets the device state (stored in its device_state data member) and returns it to the caller.
Status DEV_VOID CONST_DEV_STRING OPERATOR This command gets the device status (stored in its device_status data member) and returns it to the caller.
CheckCollision DEVVAR_DOUBLESTRINGARRAY DEV_LONG OPERATOR Check if the movement to the new position for the given motor is possible without collisions.
Returns 0 or 1 depending if the movement can or not be done.