PyLidar#

An alternative implementation to navground.sim.state_estimations.LidarStateEstimation to provide an example on how to implement a sensor in Python.

Bases: Sensor

Python equivalent to the C++ navground::sim::LidarStateEstimation class.

Registered properties:

State: navground.core.SensingState

Constructs a new instance.

Parameters:
  • resolution – The resolution

  • start_angle – The start angle

  • field_of_view – The field of view

  • range – The range

Overridden: associates an buffer of shape resolution to key “range”.

Returns:

The buffer description.

Overridden: set state field “range” with range measurements.

Parameters:
  • agent – The agent

  • world – The world

  • state – The state

The field of view [rad].

The range of view

The number of range measurements per scan.

The lowest visible relative angle [rad].