pyrobosim.sensors.lidar.Lidar2D
- class pyrobosim.sensors.lidar.Lidar2D(*, update_rate_s: float, angle_units: str, min_angle: float, max_angle: float, angular_resolution: float, max_range_m: float)
Implements a simulated 2D lidar sensor.
Methods
__init__(*, update_rate_s, angle_units, ...)Constructs a 2D lidar sensor instance.
Gets the latest sensor measurement.
Sets up and returns the artists for visualizing the sensor.
Defines the sensor update function to run in a background thread.
to_dict()Serializes the sensor to a dictionary.
update()Performs the lidar calculation.
Updates the artists.
Attributes
The name of the plugin.