PoseOperationSettings< POSE_OPERATION_TYPE::TRANSLATE >

Pose operation: move every grip.

The translation is given in the axes of referenceFrame: TCP moves along the grip’s own axes, ROBOT, CAMERA and OBJECT along theirs. The orientation is kept.

Member Functions

virtual POSE_OPERATION_TYPE type() const override

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

Member Variables

referenceFrame

GRIP_FRAME, default: \{GRIP_FRAME::ROBOT\} JSON Type: (optional) string +Requirement: Must be a GRIP_FRAME. Frame whose axes the translation is given in. Defaults to ROBOT.

translation

Eigen::Vector3f, default: \{Eigen::Vector3f::Zero()\} JSON Type: array +Requirement: Must have three elements. The translation, in metres.

Enumerations

Tabelle 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>

Tabelle 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.