selfdrive.ui package

Subpackages

Submodules

selfdrive.ui.soundd module

class selfdrive.ui.soundd.Soundd[source]

Bases: object

calculate_volume(weighted_db)[source]
callback(data_out: ndarray, frames: int, time, status) None[source]
get_audible_alert(sm)[source]
get_sound_data(frames)[source]
get_stream(sd)[source]
load_sounds()[source]
soundd_thread()[source]
update_alert(new_alert)[source]
selfdrive.ui.soundd.check_controls_timeout_alert(sm)[source]
selfdrive.ui.soundd.main()[source]

selfdrive.ui.ui module

selfdrive.ui.update_translations module

selfdrive.ui.update_translations.generate_translations_include()[source]
selfdrive.ui.update_translations.update_translations(vanish: bool = False, translation_files: None | list[str] = None, translations_dir: str = '/tmp/openpilot/selfdrive/ui/translations')[source]

Module contents