concepts.dm.crowhat.manipulation_utils.pivot_sampler.SingleArmIndirectPivotParameter#
- class SingleArmIndirectPivotParameter[source]#
Bases:
NamedTuple
SingleArmIndirectPivotParameter(object_id, tool_id, support_id, rotation, contact_point_on_a, contact_point_on_b, b_pose, pre_contact_distance, post_contact_distance, robot_qpos, robot_ee_pose)
Methods
count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
Alias for field number 6
Alias for field number 4
Alias for field number 5
Alias for field number 0
Alias for field number 8
Alias for field number 7
Alias for field number 10
Alias for field number 9
Alias for field number 3
Alias for field number 2
Alias for field number 1
- __add__(value, /)#
Return self+value.
- __getitem__(key, /)#
Return self[key].
- __init__()#
- __iter__()#
Implement iter(self).
- __len__()#
Return len(self).
- __mul__(value, /)#
Return self*value.
- static __new__(_cls, object_id, tool_id, support_id, rotation, contact_point_on_a, contact_point_on_b, b_pose, pre_contact_distance, post_contact_distance, robot_qpos, robot_ee_pose)#
Create new instance of SingleArmIndirectPivotParameter(object_id, tool_id, support_id, rotation, contact_point_on_a, contact_point_on_b, b_pose, pre_contact_distance, post_contact_distance, robot_qpos, robot_ee_pose)
- Parameters:
object_id (int)
tool_id (int)
support_id (int)
rotation (RotationAlongAxis)
contact_point_on_a (ContactPointProposal)
contact_point_on_b (ContactPointProposal)
b_pose (Tuple[Tuple[float, float, float] | List[float] | ndarray, Tuple[float, float, float, float] | List[float] | ndarray])
pre_contact_distance (float)
post_contact_distance (float)
robot_qpos (ndarray)
robot_ee_pose (Tuple[Tuple[float, float, float] | List[float] | ndarray, Tuple[float, float, float, float] | List[float] | ndarray])
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.
- b_pose: Tuple[Tuple[float, float, float] | List[float] | ndarray, Tuple[float, float, float, float] | List[float] | ndarray]#
Alias for field number 6
- contact_point_on_a: ContactPointProposal#
Alias for field number 4
- contact_point_on_b: ContactPointProposal#
Alias for field number 5
- robot_ee_pose: Tuple[Tuple[float, float, float] | List[float] | ndarray, Tuple[float, float, float, float] | List[float] | ndarray]#
Alias for field number 10
- rotation: RotationAlongAxis#
Alias for field number 3