concepts.dm.crowhat.manipulation_utils.contact_point_sampler.ContactPointProposal#

class ContactPointProposal[source]#

Bases: NamedTuple

A proposal of a contact point on an object.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

normal

The normal of the contact point, pointing outwards.

object_id

The identifier of the object.

point

The position of the contact point.

__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, point, normal)#

Create new instance of ContactPointProposal(object_id, point, 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.

normal: Tuple[float, float, float] | List[float] | ndarray#

The normal of the contact point, pointing outwards.

object_id: int#

The identifier of the object.

point: Tuple[float, float, float] | List[float] | ndarray#

The position of the contact point.