verse.map.example_map.intersection.Intersection
- class verse.map.example_map.intersection.Intersection(width: float = 3, size: float = 20, length: float = 300, lanes: int = 2)
Bases:
LaneMap
Cross intersection example.
width: width of each lane size: distance from center (of intersection) to when curves and straight lines meet length: length of straight road outside of intersection lanes: number of lanes per direction (e.g. north and into the intersection)
Methods
add_lanes
get_all_speed_limit
get_altitude
get_lane_heading
get_lane_segment
get_lane_width
get_lateral_distance
get_longitudinal_position
get_phys_lane
get_speed_limit
h
h_exist
lane_geometry
- __init__(width: float = 3, size: float = 20, length: float = 300, lanes: int = 2)