IF_CollisionHandlerDelta2AxUpdateFromJointPositions (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

This chapter provides information on:

Task

Update the position based on joint positions.

Description

Update the position and orientation of each default collision object based on the joint positions provided as input. The default collision objects are those that are automatically created and configured inside the collision entity of the collision handler.

NOTE: This method does not affect the position and orientation of the collision objects inside the collision groups that have been added by you. When calling this method, the collision objects that are part of the groups must have xConfigured = TRUE, so that the groups can be successfully updated.

The following graphic shows the elements of i_alrJointPositions:

Interface

Access: PUBLIC

Input

Data type

Description

i_alrJointPositions

ARRAY [1...Gc_udiDelta2AxNumberOfJoints] OF LREAL

Joint positions of a Delta2Ax robot.

Output

Data type

Description

q_xError

BOOL

The output is set to TRUE if an error has been detected during the execution.

q_etResult

ET_Result

POU-specific output on the diagnostic; q_xError = FALSE -> Status message; q_xError = TRUE -> Diagnostic message.

q_sResultMsg

STRING(80)

Event-triggered message that gives additional information on the diagnostic state.