simulo.RayPattern
Configuration for ray-casting pattern.
Defines how rays are distributed for the RayCaster sensor.
Attributes:
type— Pattern type (“grid”, “pinhole”, “lidar”)resolution— Grid resolution in meters (for grid type)size— Grid size (width, height) in meters (for grid type)
Example:
# Grid pattern for height scanningpattern = simulo.RayPattern( type="grid", resolution=0.1, size=(1.6, 1.0))simulo.RayPattern( type: str = 'grid', resolution: float = 0.1, size: Tuple[float, float] = (1.6, 1.0),)