concepts.simulator.pybullet.world.GlobalIdentifier#

class GlobalIdentifier#

Bases: tuple

GlobalIdentifier(type, body_id, joint_or_link_id)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

body_id

Alias for field number 1

joint_or_link_id

Alias for field number 2

type

Alias for field number 0

__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, type, body_id, joint_or_link_id)#

Create new instance of GlobalIdentifier(type, body_id, joint_or_link_id)

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.

body_id#

Alias for field number 1

Alias for field number 2

type#

Alias for field number 0