Independent telemetry and video paths. Python emits modeled sensor samples; it is not connected to Rust hardware drivers. Motor authority is a software model, not verified physical actuation.
01 / Modeled telemetry loop
Exercise asynchronous sensor event publication.
ImplementationPython generates fixed IMU and proximity samples once per second and selects separate Kafka topics.
Security & failure behaviorSynthetic values are identified as modeled; the application does not establish a hardware control channel. Producer start/publish exceptions propagate; finally closes the publisher after loop failures.
TradeoffDeterministic samples support local experiments but do not demonstrate real sensor acquisition.
02 / Kafka publisher adapter
Await broker acknowledgment for telemetry messages.
ImplementationAIOKafkaProducer.start and send_and_wait publish UTF-8 payloads.
Security & failure behaviorThis adapter only supplies bootstrap_servers; TLS/SASL settings are not configured in this source. Broker errors propagate to the event loop; no durable local outbox appears here.
TradeoffSmall adapter; deployment manifests alone do not prove end-to-end communication security.
03 / RTSP vision bridge
Forward validated camera media to a downstream TLS receiver.
ImplementationRTSP session parsing feeds forward_one_with_ack over a rustls client-authenticated connection; health events record stage outcomes.
Security & failure behaviorCertificate roots, client credentials and target hostname validate the downstream connection. Connection/handshake timeouts and bounded camera retry failures stop the run; downstream failures are surfaced.
TradeoffReal bridge code exists; camera/NVR interoperability still needs target-specific verification.
04 / mTLS media receiver
Accept framed media from authenticated clients.
ImplementationReceiver mode loads server credentials/client CA and persists accepted media to configured output.
Security & failure behaviorClient certificate authentication protects the receiver; filesystem permissions remain deployment responsibilities. Invalid TLS, framing or output writes return errors.
TradeoffA custom receiver is not evidence that a commercial NVR accepts this protocol.
05 / Motor authority model
Compute stop-or-drive decisions with explicit authority.
ImplementationGeneration, command age, controller connection, voltage and distance determine MotorDecision.
Security & failure behaviorMissing authority or sensor input yields zero speed. The modeled main runtime has no connected controller/voltage adapter. Lost control, stale commands, low power or obstacles return named stop reasons.
TradeoffSoftware decision logic requires a future physical adapter and hardware safety validation.