Discs#

Perceive a fixed number of nearest neighbors and obstacles

Empty places are filled with zeros

Registered properties:

Constructs a new instance.

Parameters:
  • range – The range of view

  • number – Number of discs

  • max_radius – Maximal neighbor radius

  • max_speed – Maximal neighbor speed

  • include_valid – Whether to include validity

  • use_nearest_point – Whether to use nearest point as position

  • max_id – Maximal neighbor id

  • name – The name to use as a prefix

Type:

bool

Whether to include validity.

Type:

int

The maximal possible id.

Type:

float

The maximal neighbor radius.

Type:

float

The maximal neighbor speed.

Type:

int

The number of discs.

Type:

float

The range of view.

Type:

bool

Whether to use the nearest or the center as position