concepts.hw_interface.robot_state_visualizer.visualizer.QueueDescription#

class QueueDescription[source]#

Bases: NamedTuple

QueueDescription(name, data_type, max_datapoints, group, width_in_group, attach_to)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

attach_to

Alias for field number 5

data_type

Alias for field number 1

group

Alias for field number 3

max_datapoints

Alias for field number 2

name

Alias for field number 0

width_in_group

Alias for field number 4

__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, name, data_type, max_datapoints=200, group='', width_in_group=0, attach_to='')#

Create new instance of QueueDescription(name, data_type, max_datapoints, group, width_in_group, attach_to)

Parameters:
  • name (str)

  • data_type (str)

  • max_datapoints (int)

  • group (str)

  • width_in_group (int)

  • attach_to (str)

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.

attach_to: str#

Alias for field number 5

data_type: str#

Alias for field number 1

group: str#

Alias for field number 3

max_datapoints: int#

Alias for field number 2

name: str#

Alias for field number 0

width_in_group: int#

Alias for field number 4