FB_EntitiesHandler - CalcEntitiesRelativePose (Method)
Type: |
Method |
Available as of: |
V1.4.1.0 |
This chapter provides information on:
oTask
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 |
An ID used to unequivocally identify an entity in the system. Admissible values are in the range: oET_SystemEntity.Conveyor1...ET_SystemEntity.Conveyor30 and oET_SystemEntity.Robot1...ET_SystemEntity.Robot10. |
|
i_etTargetSystemId |
An ID used to unequivocally identify an entity in the system. Admissible values are in the range: oET_SystemEntity.Conveyor1...ET_SystemEntity.Conveyor30 and oET_SystemEntity.Robot1...ET_SystemEntity.Robot10. |
|
i_etOrientationConvention |
ROB.ET_OrientationConvention |
Orientation convention used to represent the orientation of the resulting pose. Admissible values are in the range: oROB.ET_OrientationConvention.XYZ oROB.ET_OrientationConvention.ZYX 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 |
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 |
---|---|
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 |
0 |
Ok |
|
InputParameterInvalid |
133 |
A provided conveyor ID is unknown. |
|
InputParameterInvalid |
132 |
A provided entity ID is invalid. |
|
InputParameterInvalid |
38 |
Invalid orientation convention. |
|
InputParameterInvalid |
130 |
A provided robot ID is unknown. |
|
UnexpectedProgramBehavior |
4 |
Internal error detected. |
Enumeration name: |
ConveyorIdUnknown |
Enumeration value: |
133 |
Description: |
A provided conveyor ID is unknown. |
Issue |
Cause |
Solution |
---|---|---|
The relative pose has not been successfully evaluated. |
i_etSourceSystemId contains an unknown conveyor system ID. |
Ensure that the value of i_etSourceSystemId refers to a previously configured conveyor. |
i_etTargetSystemId contains an unknown 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: oET_SystemEntity.Conveyor1...ET_SystemEntity.Conveyor30 or oET_SystemEntity.Robot1...ET_SystemEntity.Robot10 |
i_etTargetSystemId contains an invalid entity ID. |
Ensure that the value of i_etTargetSystemId refers to an entity ID in the range: oET_SystemEntity.Conveyor1...ET_SystemEntity.Conveyor30 oET_SystemEntity.Robot1...ET_SystemEntity.Robot10. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
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: oROB.ET_OrientationConvention.XYZ oROB.ET_OrientationConvention.ZYX |
Enumeration name: |
RobotIdUnknown |
Enumeration value: |
130 |
Description: |
A provided robot ID is unknown. |
Issue |
Cause |
Solution |
---|---|---|
The relative pose has not been successfully evaluated. |
i_etSourceSystemId contains an unknown robot system ID. |
Ensure that the value of i_etSourceSystemId refers to a previously configured robot. |
i_etTargetSystemId contains an unknown 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 unexpected exception occurred. |
- |