Discs#
Perceive a fixed number of nearest neighbors and obstacles
Empty places are filled with zeros
Registered properties:
range (float,
range
)number (int,
number
)max_radius (int,
max_radius
)max_speed (int,
max_speed
)include_valid (bool,
include_valid
)use_nearest_point (bool,
use_nearest_point
)max_id (int,
max_id
)
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:
Whether to include validity.
- Type:
The maximal possible id.
- Type:
The maximal neighbor radius.
- Type:
The maximal neighbor speed.
- Type:
The number of discs.
- Type:
The range of view.
- Type:
Whether to use the nearest or the center as position