simulation.utils.road.sections.blocked_area module

BlockedArea.

Summary

Classes:

BlockedArea

Road section representing a blocked area.

Reference

class BlockedArea(id: int = 0, transform: Optional[simulation.utils.geometry.transform.Transform] = None, is_start: bool = False, left_line_marking: str = 'solid', middle_line_marking: str = 'dashed', right_line_marking: str = 'solid', obstacles: List[simulation.utils.road.sections.obstacle.StaticObstacle] = <factory>, traffic_signs: List[simulation.utils.road.sections.traffic_sign.TrafficSign] = <factory>, surface_markings: List[simulation.utils.road.sections.surface_marking.SurfaceMarking] = <factory>, length: float = 1, width: float = 0.2, _opening_angle: float = 1.0471975511965976)[source]

Bases: simulation.utils.road.sections.straight_road.StraightRoad

Road section representing a blocked area.

Parameters

width (float) – width of the blocked area, starting from the right line.

TYPE = 8
width: float = 0.2
_opening_angle: float = 1.0471975511965976
property frame

Frame of the blocked area surface marking.

It has the shape of a symmetrical trapezoid.

Type

Polygon

property _poly
property traffic_signs

All traffic signs within this section of the road.

Type

List[TrafficSign]