PoseOperationSettings< POSE_OPERATION_TYPE::SYMMETRY_ROTATION >

Pose operation: add rotated copies of every grip, for a rotationally symmetric object.

Each grip is replaced by copies rotated about axis through center, both in object coordinates, at every angle from angleMinDeg in steps of angleStepDeg that is below angleMaxDeg – angleMaxDeg itself is not included, so 0 to 360 does not repeat 0. Equal angleMinDeg and angleMaxDeg give the one copy at angleMinDeg.

Member Functions

virtual POSE_OPERATION_TYPE type() const override

JSON Type: string +Requirement: Must be POSE_OPERATION_TYPE::SYMMETRY_ROTATION. Type of the pose operation.

Member Variables

center

Eigen::Vector3f, default: \{Eigen::Vector3f::Zero()\} JSON Type: array +Requirement: Must have three elements. Center of the rotation, in object coordinates.

axis

Eigen::Vector3f, default: \{Eigen::Vector3f::UnitZ()\} JSON Type: array +Requirement: Must have three elements. Norm must not be zero. Axis of the rotation, in object coordinates.

angleMinDeg

float, default: \{0.0f\} JSON Type: float +Requirement: Must be less or equal to angleMaxDeg. First rotation angle around the axis.

angleMaxDeg

float, default: \{360.0f\} JSON Type: float +Requirement: Must be greater or equal to angleMinDeg. End of the rotation range around the axis (not included).

angleStepDeg

float, default: \{10.0f\} JSON Type: float +Requirement: Must be greater than zero. Angle between two copies.

Enumerations

Table 1. POSE_OPERATION_TYPE
Value Description

OBJECT_RELATIVE_POSITION

Place the grip in x and y relative to the detected object box. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::OBJECT_RELATIVE_POSITION>

SYMMETRY_ROTATION

Add rotated copies of every grip, for a rotationally symmetric object. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::SYMMETRY_ROTATION>

FILTER_Z_AXIS

Keep only grips whose TCP z-axis is close to a reference direction. Never changes a grip. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::FILTER_Z_AXIS>

ROTATE

Rotate every grip about its TCP origin. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::ROTATE>

TRANSLATE

Move every grip. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::TRANSLATE>

ALIGN_Z

Turn the TCP z-axis onto a direction, keeping the rotation about it. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::ALIGN_Z>

SET_ORIENTATION

Replace the TCP orientation, keeping the position. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::SET_ORIENTATION>

Table 2. GRIP_FRAME
Value Description

ROBOT

The robot base frame.

CAMERA

The frame of the camera the object was detected in.

OBJECT

The frame of the detected object.

TCP

The TCP frame of the grip being changed.