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:
range
(float)field_of_view
(float)resolution
(int)range
(float)
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
Gets the description of the buffers set by the sensors.
- Returns:
The description.
Updates an environment state with respect to a given agent.
- Parameters:
agent – The agent owning the state estimation
world – The world that the agent is part of
state – The environment state to be updated