selfdrive.navd package

Submodules

selfdrive.navd.helpers module

class selfdrive.navd.helpers.Coordinate(latitude: float, longitude: float)[source]

Bases: object

as_dict() Dict[str, float][source]
distance_to(other: Coordinate) float[source]
dot(other: Coordinate) float[source]
classmethod from_mapbox_tuple(t: Tuple[float, float]) Coordinate[source]
selfdrive.navd.helpers.coordinate_from_param(param: str, params: Optional[Params] = None) Optional[Coordinate][source]
selfdrive.navd.helpers.distance_along_geometry(geometry: List[Coordinate], pos: Coordinate) float[source]
selfdrive.navd.helpers.maxspeed_to_ms(maxspeed: Dict[str, Union[str, float]]) float[source]
selfdrive.navd.helpers.minimum_distance(a: Coordinate, b: Coordinate, p: Coordinate)[source]
selfdrive.navd.helpers.parse_banner_instructions(instruction: Any, banners: Any, distance_to_maneuver: float = 0.0) None[source]
selfdrive.navd.helpers.string_to_direction(direction: str) str[source]

selfdrive.navd.map_renderer module

selfdrive.navd.map_renderer.get_ffi()[source]
selfdrive.navd.map_renderer.get_image(lib, renderer)[source]
selfdrive.navd.map_renderer.wait_ready(lib, renderer)[source]

selfdrive.navd.navd module

class selfdrive.navd.navd.RouteEngine(sm, pm)[source]

Bases: object

calculate_route(destination)[source]
clear_route()[source]
recompute_route()[source]
send_instruction()[source]
send_route()[source]
should_recompute()[source]
update()[source]
update_location()[source]
selfdrive.navd.navd.main(sm=None, pm=None)[source]

Module contents