Calculate the relative Cartesian pose between the base frame of a source entity and the base frame of a target entity.
The method CalcEntitiesRelativePose is used to calculate the relative Cartesian pose between the base frame of a source entity and the base frame of a target entity.
Input |
Data type |
Description |
---|---|---|
i_etSourceSystemId |
ET_SystemEntity |
An ID used to unequivocally identify an entity in the system. Admissible values are in the ranges:
|
i_etTargetSystemId |
ET_SystemEntity |
An ID used to unequivocally identify an entity in the system. Admissible values are in the ranges:
|
i_etOrientationConvention |
ROB.ET_OrientationConvention |
Orientation convention used to represent the orientation of the resulting pose. Admissible values are in the ranges:
Refer to Robotic Library - ET_OrientationConvention. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
ET_DiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
q_sMsg |
STRING[80] |
Event-triggered message that gives more detailed information on the diagnostic state. |
Data type |
Description |
---|---|
ST_CartesianPose |
A Cartesian pose describing the relative Cartesian pose transformation from the source system base pose to the target system base pose. |
q_etDiag |
q_etDiagExt |
Enumeration value of q_etDiagExt |
Description |
---|---|---|---|
Ok |
Ok |
0 |
Ok |
InputParameterInvalid |
ConveyorIdUnknown |
133 |
A provided conveyor ID is invalid. |
InputParameterInvalid |
EntityIdInvalid |
132 |
A provided entity ID is invalid. |
InputParameterInvalid |
OrientationConventionInvalid |
38 |
Invalid orientation convention. |
InputParameterInvalid |
RobotIdUnknown |
130 |
A provided robot ID is invalid. |
UnexpectedProgramBehavior |
UnexpectedFeedback |
4 |
Internal error detected. |
InputParameterInvalid |
TargetGeneratorIdUnknown |
174 |
A provided target generator type is invalid. |
Enumeration name: |
ConveyorIdUnknown |
Enumeration value: |
133 |
Description: |
A provided conveyor ID is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The relative pose has not been successfully evaluated. |
i_etSourceSystemId contains an indeterminable conveyor system ID. |
Ensure that the value of i_etSourceSystemId refers to a previously configured conveyor. |
i_etTargetSystemId contains an indeterminable conveyor system ID. |
Ensure that the value of i_etTargetSystemId refers to a previously configured conveyor. |
Enumeration name: |
EntityIdInvalid |
Enumeration value: |
132 |
Description: |
A provided entity ID is invalid |
Issue |
Cause |
Solution |
---|---|---|
The relative pose has not been successfully evaluated. |
i_etSourceSystemId contains an invalid entity ID. |
Ensure that the value of i_etSourceSystemId refers to an entity ID in the range:
|
i_etTargetSystemId contains an invalid entity ID. |
Ensure that the value of i_etTargetSystemId refers to an entity ID in the range:
|
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Success |
Status message: The relative pose has been evaluated successfully.
Enumeration name: |
OrientationConventionInvalid |
Enumeration value: |
38 |
Description: |
Invalid orientation convention. |
Issue |
Cause |
Solution |
---|---|---|
The relative pose has not been successfully evaluated. |
i_etOrientationConvention contains an invalid orientation convention. |
Provide a valid value for the orientation convention. Admissible values are:
|
Enumeration name: |
RobotIdUnknown |
Enumeration value: |
130 |
Description: |
A provided robot ID is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The relative pose has not been successfully evaluated. |
i_etSourceSystemId contains an indeterminable robot system ID. |
Ensure that the value of i_etSourceSystemId refers to a previously configured robot. |
i_etTargetSystemId contains an indeterminable robot system ID. |
Ensure that the value of i_etTargetSystemId refers to a previously configured robot. |
Enumeration name: |
UnexpectedFeedback |
Enumeration value: |
4 |
Description: |
Internal error detected. |
Issue |
Cause |
Solution |
---|---|---|
The relative pose has not been successfully evaluated. |
An indeterminable exception occurred. |
- |
Enumeration name: |
TargetGeneratorIdUnknown |
Enumeration value: |
174 |
Description: |
A provided target generator type is invalid. |
Issue |
Cause |
Solution |
---|---|---|
A provided target generator ID is invalid. |
i_etTargetGeneratorId contains an indeterminable target generator system ID. |
Ensure that the value of i_etTargetGeneratorId refers to a previously configured target generator. |