Validate Poses by Included Angles to Reference Direction
Function
This Step calculates the angles between the specified axes of the poses and the reference direction, the poses having such angles within the set maximum angle difference threshold will be retained and will have their output validation results set to True; those having such angles beyond the threshold will be removed and will have their results set to False.
Input and Output
Input
| Input port | Data type | Description |
|---|---|---|
Poses |
Pose[] |
The poses to be validated. |
Reference Poses |
Pose[] - |
The reference poses. |
Reference Directions |
Vector3D[] - |
The reference directions. |
Output
| Output port | Data type | Description |
|---|---|---|
Validation Results |
Bool[] |
The output has the same size as the input. If the angle difference is small enough, the corresponding validation result will be True. |
Valid Poses |
Pose[] |
The validated poses. |
Angles |
Number[] |
The angles between a specified axis of the pose and the reference direction. The unit is degrees (°). |
Parameter Description
Visualization Settings
| Parameter | Description | ||||
|---|---|---|---|---|---|
Show Point Cloud In Selected Frame |
Description: Display point cloud under the robot reference frame or the camera reference frame. Default value: Robot Coordinate Value list: Robot Coordinate, Camera Coordinate Instruction: When this parameter is set to Robot Coordinate, the Debug Output panel will display the visualized output under the camera reference frame; when it is set to Robot Coordinate, the panel will display the visualized output under the robot reference frame. Please refer to the tuning example for the corresponding result.
|
||||
Pose Type to Visualize |
Description: This parameter is used to select the pose type to visualize.
|
| Parameter | Description |
|---|---|
Reference Frame |
Parameter description: This parameter is used to display the reference frame used for validation.
|
Reference Direction Source |
Parameter description: This parameter is used to set the source of the reference direction.
|
Reference Direction |
Parameter description: This parameter is used to set the reference direction.
|
Axis to Be Specified |
Parameter description: This parameter is used to set the axis used to calculate the angle between the input and output poses.
|
Max Angle Difference (0–180) |
Parameter description: This parameter is used to set the maximum angle threshold (°) for validating poses. If the angle difference between the specified axis and the reference direction is above the threshold, the pose is considered invalid.
|
Output Empty List if Containing Invalid Poses |
Parameter description: If the input list contains invalid poses, an empty list will be output.
|