pyrobosim.sensors.lidar.Lidar2D.to_dict

Lidar2D.to_dict() dict[str, Any]

Serializes the sensor to a dictionary.

Returns:

A dictionary containing the sensor information.