PoseOperationSettings< POSE_OPERATION_TYPE::OBJECT_RELATIVE_POSITION >
Pose operation: place the grip in x and y relative to the detected object box.
Sets the TCP’s x and y, in object coordinates, to boxCenter + position * boxSize / 2 of the detected 3D box of this instance: -1 is the box’s -x (-y) face, 0 its middle, +1 its +x (+y) face. For parts that vary in size and are gripped away from their centre. The orientation is kept, and so is z, in metres: the detected box has no measured height.
Member Functions
virtual POSE_OPERATION_TYPE type() const override-
JSON Type: string +Requirement: Must be POSE_OPERATION_TYPE::OBJECT_RELATIVE_POSITION. Type of the pose operation.
Member Variables
position-
Eigen::Vector2f, default:\{Eigen::Vector2f::Zero()\}JSON Type: array of float +Requirement: Must have two elements, each in [-1, 1]. Position of the grip in x and y between the faces of the detected object box.
Enumerations
| Value | Description |
|---|---|
|
Place the grip in x and y relative to the detected object box. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::OBJECT_RELATIVE_POSITION> |
|
Add rotated copies of every grip, for a rotationally symmetric object. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::SYMMETRY_ROTATION> |
|
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 every grip about its TCP origin. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::ROTATE> |
|
Move every grip. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::TRANSLATE> |
|
Turn the TCP z-axis onto a direction, keeping the rotation about it. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::ALIGN_Z> |
|
Replace the TCP orientation, keeping the position. >>> See PoseOperationSettings<POSE_OPERATION_TYPE::SET_ORIENTATION> |
| Value | Description |
|---|---|
|
The robot base frame. |
|
The frame of the camera the object was detected in. |
|
The frame of the detected object. |
|
The TCP frame of the grip being changed. |