Transform a Cartesian pose, referred to a sensor system, into a Cartesian pose referred to the coordinate system of the conveyor.
The method CalcSensorPoseInTrackingSystem 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_stSensorPose |
ST_CartesianPose |
A Cartesian pose referred to the coordinate system of the sensor. |
i_etTrackingId |
An ID used to unequivocally identify a tracking coordinate system. Admissible values are in the range ROB.ET_CoordinateSystem.Tracking1...ROB.ET_CoordinateSystem.Tracking30. |
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_stSensorPose with reference to the coordinate system of the conveyor to which the sensor is paired. |
q_etDiag |
q_etDiagExt |
Enumeration value of q_etDiagExt |
Description |
---|---|---|---|
Ok |
Ok |
0 |
Ok |
InputParameterInvalid |
OrientationConventionInvalid |
38 |
Invalid orientation convention. |
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 transformed Cartesian pose has not been successfully evaluated. |
i_stSensorPose.etOrientationConvention contains an invalid value. |
Ensure that the orientation convention has one of the following values:
|
Enumeration name: |
TrackingIdInvalid |
Enumeration value: |
104 |
Description: |
The tracking ID is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The transformed Cartesian pose has not been evaluated successfully. |
i_etTrackingId contains an invalid tracking ID. |
Ensure that the value of i_etTrackingId refers to an entity ID 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 transformed 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. |