concepts.simulator.pybullet.components.multi_robot_controller.RecordedControlDoCommand#

class RecordedControlDoCommand[source]#

Bases: NamedTuple

RecordedControlDoCommand(robot_index, action_name, kwargs)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

action_name

Alias for field number 1

kwargs

Alias for field number 2

robot_index

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, robot_index, action_name, kwargs)#

Create new instance of RecordedControlDoCommand(robot_index, action_name, kwargs)

Parameters:
  • robot_index (int)

  • action_name (str)

  • kwargs (dict)

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.

action_name: str#

Alias for field number 1

kwargs: dict#

Alias for field number 2

robot_index: int#

Alias for field number 0