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