concepts.dm.crowhat.manipulation_utils.pick_place_sampler.PlacementParameter#

class PlacementParameter[source]#

Bases: NamedTuple

PlacementParameter(object_id, support_id, target_pos, target_quat, support_normal)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

object_id

Alias for field number 0

support_id

Alias for field number 1

support_normal

Alias for field number 4

target_pos

Alias for field number 2

target_quat

Alias for field number 3

__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, support_id, target_pos, target_quat, support_normal)#

Create new instance of PlacementParameter(object_id, support_id, target_pos, target_quat, support_normal)

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

object_id: int#

Alias for field number 0

support_id: int#

Alias for field number 1

support_normal: ndarray#

Alias for field number 4

target_pos: ndarray#

Alias for field number 2

target_quat: ndarray#

Alias for field number 3