Transform a Cartesian pose, referred to a sensor system, into a Cartesian pose referred to the coordinate system of the conveyor.
The method CalcTrackingPoseInRobotSystem is used to transform a Cartesian pose, referred to a sensor system, into a Cartesian pose referred to the coordinate system of the conveyor to which the sensor has been paired.
Input |
Data type |
Description |
---|---|---|
i_etTrackingId |
An ID used to unequivocally identify the sensor-conveyor pair in the system. Admissible values are in the range ROB.ET_CoordinateSystem.Tracking1...ROB.ET_CoordinateSystem.Tracking30. |
|
i_stTrackingPose |
ST_CartesianPose |
A Cartesian pose referred to the coordinate system identified by i_etTrackingId. |
i_etRobotId |
ET_SystemEntity |
An ID used to unequivocally identify a tracking coordinate system. Admissible values are in the range ET_SystemEntity.Robot1...ET_SystemEntity.Robot10. |
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 pose i_stTrackingPose with reference to the coordinate system of the robot coordinate system identified by i_etRobotId. |
q_etDiag |
q_etDiagExt |
Enumeration value of q_etDiagExt |
Description |
---|---|---|---|
Ok |
Ok |
0 |
Ok |
InputParameterInvalid |
OrientationConventionInvalid |
38 |
Invalid orientation convention. |
InputParameterInvalid |
RobotIdInvalid |
120 |
A provided robot ID has an invalid value. |
InputParameterInvalid |
RobotIdUnknown |
130 |
A provided robot ID is invalid. |
InputParameterInvalid |
TrackingIdInvalid |
104 |
The tracking ID is invalid. |
InputParameterInvalid |
TrackingIdUnknown |
131 |
A provided tracking ID is invalid. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Success |
Status message: The transformed Cartesian pose has been evaluated successfully.
Enumeration name: |
OrientationConventionInvalid |
Enumeration value: |
38 |
Description: |
Invalid orientation convention. |
Issue |
Cause |
Solution |
---|---|---|
The Cartesian pose has not been evaluated successfully. |
i_stTrackingPose.etOrientationConvention contains an invalid value. |
Ensure that the orientation convention has one of the following values:
|
Enumeration name: |
RobotIdInvalid |
Enumeration value: |
120 |
Description: |
A provided robot ID has an invalid value. |
Issue |
Cause |
Solution |
---|---|---|
The Cartesian pose has not been evaluated successfully. |
i_etRobotId contains an invalid entity ID. |
Ensure that the value of i_etRobotId refers to an entity ID in the range ET_SystemEntity.Robot1...ET_SystemEntity.Robot10. |
Enumeration name: |
RobotIdUnknown |
Enumeration value: |
130 |
Description: |
A provided robot ID is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The Cartesian pose has not been evaluated successfully. |
i_etRobotId contains an invalid robot system ID. |
Ensure that the value of i_etRobotId refers to a previously configured robot. |
Enumeration name: |
TrackingIdInvalid |
Enumeration value: |
104 |
Description: |
The tracking ID is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The Cartesian pose has not been evaluated successfully. |
i_etTrackingId contains an invalid tracking ID. |
Ensure that the value of i_etTrackingId contains a value in the range ROB.ET_CoordinateSystem.Tracking1...ROB.ET_CoordinateSystem.Tracking30. |
Enumeration name: |
TrackingIdUnknown |
Enumeration value: |
131 |
Description: |
A provided tracking ID is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The Cartesian pose has not been evaluated successfully. |
i_etTrackingId refers to an indeterminable tracking system. |
Ensure that a tracking system with ID i_etTrackingId has been already configured before calling this method. |