Update Target Object Pose with Point Cloud Bounding Box

Description

This operator is used to update or correct an existing Pose list based on the input 3D Point Cloud Bounding Box information. It can update only the rotation part of the pose, or simultaneously update the position part.

Overview

Replaces pose information with the center coordinates and rotation pose of the point cloud bounding box.

Scenarios

  • Pose Correction: Based on a rough initial pose, by segmenting the target Point Cloud and calculating its 3D bounding box, this operator can use the orientation and center of the bounding box to correct the initial pose, thereby obtaining a precise Pose that better fits the actual posture and position of the object.

  • Pose Alignment: Force the direction of the Pose to align with the natural principal axis of the object.

Inputs and Outputs

Inputs

Target Object Pose Information: The original pose list to be updated.

Point Cloud Bounding Box: A list of 3D bounding boxes containing center, dimensions, and transformation matrix, must be in the robot base coordinate system.

Outputs

Target Object Pose Information: The updated pose list.

Parameters

Rotate with Rz only

Description

Controls how to use the bounding box information to calculate the new rotation.

Tuning Instructions

  • On: Ignores the complete orientation of the bounding box in 3D space, and calculates a rotation around the Z-axis (Rz) based only on the direction of its long side on the XY plane. Suitable for complex angle adjustments where only "orientation" needs to be determined and tilt does not need to be considered.

  • Off (Default): Uses the complete 3x3 rotation matrix of the bounding box to update the pose rotation, so that the pose coordinate axes are completely aligned with the three principal axes of the bounding box.

Parameter Range

Default: False

Enable Node

Description

Controls whether the operator performs the operation.

Tuning Instructions

  • Enabled (Default): Runs the operator function normally.

  • Disabled: The operator performs no operation and directly outputs the input data.

Parameter Range

Default: True

Update X Coordinate

Description

Controls whether to replace the X coordinates of the original pose with the X coordinates of the bounding box center.

Tuning Instructions

When enabled, the X position of the pose can be updated to the center X coordinates of the 3D bounding box.

Parameter Range

Default: False

Update Y Coordinate

Description

Controls whether to replace the Y coordinates of the original pose with the Y coordinates of the bounding box center.

Tuning Instructions

When enabled, the Y position of the pose can be updated to the center Y coordinates of the 3D bounding box.

Parameter Range

Default: False

Update Z Coordinate

Description

Controls whether to replace the Z coordinates of the original pose with the Z coordinates of the bounding box center.

Tuning Instructions

When enabled, the Z position of the pose can be updated to the center Z coordinates of the 3D bounding box.

Parameter Range

Default: False