selfdrive.sensord package

Submodules

selfdrive.sensord.pigeond module

class selfdrive.sensord.pigeond.TTYPigeon[source]

Bases: object

receive() bytes[source]
reset_device() bool[source]
send(dat: bytes) None[source]
send_with_ack(dat: bytes, ack: bytes = b'\xb5b\x05\x01\x02\x00', nack: bytes = b'\xb5b\x05\x00\x02\x00') None[source]
set_baud(baud: int) None[source]
wait_for_ack(ack: bytes = b'\xb5b\x05\x01\x02\x00', nack: bytes = b'\xb5b\x05\x00\x02\x00', timeout: float = 0.5) bool[source]
wait_for_backup_restore_status(timeout: float = 1.0) int[source]
selfdrive.sensord.pigeond.add_ubx_checksum(msg: bytes) bytes[source]
selfdrive.sensord.pigeond.create_pigeon() Tuple[TTYPigeon, PubMaster][source]
selfdrive.sensord.pigeond.deinitialize_and_exit(pigeon: Optional[TTYPigeon])[source]
selfdrive.sensord.pigeond.get_assistnow_messages(token: bytes) List[bytes][source]
selfdrive.sensord.pigeond.init_baudrate(pigeon: TTYPigeon)[source]
selfdrive.sensord.pigeond.initialize_pigeon(pigeon: TTYPigeon) bool[source]
selfdrive.sensord.pigeond.main()[source]
selfdrive.sensord.pigeond.run_receiving(pigeon: TTYPigeon, pm: PubMaster, duration: int = 0)[source]
selfdrive.sensord.pigeond.set_power(enabled: bool) None[source]

Module contents