Hottub Robots
Rust + WebAssembly + HottubDB + HottubHTTP + HottubNNet

HottubOS + DeckOS for Real-World Robots

A fail-closed, local-first robotics operating system engineered from first principles in Rust and WebAssembly. Neural intelligence proposes; deterministic kinematics and the hardware-isolated DeckOS safety MCU decide before a single millinewton of torque reaches an actuator.

HottubOS + DeckOS split-plane robotics operating system architecture
Split-Plane Safety ArchitectureHottubOS Linux SBC → CRC32C HottubBus → DeckOS Zephyr MCU
Rust Safety Core100%
Robotics Subsystems10
Qualified Targets6 SoCs
Cloud Teleop RequiredZero
Flight RecorderBLAKE3
Fault Drills5 / 5 Safe

Split-Plane Deterministic Safety Chain

Every neural proposal crosses four independent verification barriers before reaching motors — with zero cloud dependency.

Stage 1 · IntelligenceHottubOS Linux

HottubNNet + WASM Skills

Quantized neural perception & control policies (.htnn in HottubDB) and sandboxed WIT WebAssembly skills emit only opaque UnverifiedActionProposal intents — compile-time blocked from calling motor drivers directly.

Stage 2 · Deterministic GateHottubKinematics + HottubBus

3D ESDF, ZMP & CRC32C Fieldbus

Conservative 3D ESDF obstacle clearance, Capture-Point ZMP balance, and stopping-distance bounds clamp or refuse unsafe proposals, then stamp IEEE 1588 PTP time + Castagnoli CRC32C frames onto lock-free HottubBus rings.

Stage 3 · Hardware AuthorityDeckOS Zephyr MCU

UN38.3 BMS + CiA 402 QuickStop

An isolated #![no_std] STM32H573 DeckOS safety plane checks UN38.3 battery cell/thermal limits, PTP freshness, and hardware STO before outputting clamped 8-byte MIT CAN-FD or EtherCAT CiA 402 commands. Any fault drops immediately to 0x0002 QuickStop.

All 10 Native HottubOS Robotics Subsystems

Built exclusively with Rust, WebAssembly, HottubDB, HottubHTTP, and HottubNNet — zero legacy ROS/DDS/Node/SQLite dependencies.

#![no_std] Real-Time IPCos/crates/hottub-bus

HottubBus

Lock-free SPSC ring channels, IEEE 1588 PTP nanosecond timestamps, and Castagnoli CRC32C wire framing — eliminating DDS discovery storms, XML QoS bloat, and heap jitter.

EtherCAT CiA 402 · CAN-FD · BMSos/crates/hottub-hal

HottubHal

Deterministic actuator state machine (Fault/QuickStop fail-closed), 8-byte MIT-mode CAN-FD codec, UN38.3 thermal/cell-voltage BMS monitor, and a 6-board hardware matrix.

3D SE(3) · ZMP · ESDFos/crates/hottub-kinematics

HottubKinematics

Zero-alloc rigid-body transforms, forward kinematics, Capture-Point ZMP bipedal/quadruped balance verification, and mathematically conservative 3D ESDF collision grids.

Compile-Time Safety Guardengines/hottub-nnet-core

HottubNNet

Sealed edge perception, control policy, and acoustic fault models (.htnn in HottubDB) returning opaque UnverifiedActionProposal values that cannot energize motors without passing SafetyEnvelope.

Zephyr MCU Authorityos/crates/hottub-deck-board

DeckOS Safety Plane

Independent hardware-isolated #![no_std] microcontroller safety plane validating UN38.3 BMS limits, CRC32C fieldbus frames, PTP freshness, and STO/QuickStop before torque is permitted.

EU 2023/1230 Audit Chainapps/hottub-os-stack

HottubDB BlackBox

Embedded append-only BLAKE3 hash-chained flight recorder storing every neural proposal, kinematic gate decision, and CiA 402 frame — exporting EU Machinery Regulation 2023/1230 packets.

Strictly Read-Only Planeapps/hottub-os-stack

HottubHTTP + WASM Console

RFC 9112 SWAR HTTP server with zero mutation routes (non-GET/HEAD returns 405), strict CSP, and a pure-Rust WebAssembly telemetry dashboard — zero Node or legacy JS.

Zero-Cloud Mesh & Anti-Downgrade OTAos/crates/hottub-fleet

HottubFleet

Local-first WireGuard/QUIC peer admission policy, teleop-free survivability attestation, and signed A/B RAUC/MCUboot OTA gates enforcing safe de-energized staging and rollback.

Capability-Isolated Skillsos/crates/hottub-actor-sandbox

WASM WIT Actor Sandbox

Third-party robotics skills run inside WebAssembly Component Model sandboxes (hottub:robot-skill/v1) with advisory-only intent grants and zero direct motor or network access.

Closed-Loop Fault Drillsapps/hottub-os-stack

HottubSim Qualification

Deterministic physics & stopping-distance harness testing nominal cruise plus 4 injected fault drills (ESDF obstacle, ZMP instability, BMS over-temp, e-stop latch) with 5/5 fail-closed verification.

HottubOS + DeckOS vs. Legacy ROS 2 Stacks

Purpose-built for EU Machinery Regulation (EU) 2023/1230 (mandatory 2027-01-20), US FCC compliance, and real-world physical safety.

Architectural DimensionHottubOS + DeckOSTypical ROS 2 / DDS Stack
Core Language & Safety100% Rust (#![forbid(unsafe_code)] policy & #![no_std] safety crates) + WebAssembly skill sandboxesC++17/20 & Python nodes; memory bugs in perception or planners can crash the process
Real-Time TransportHottubBus: lock-free SPSC rings, IEEE 1588 PTP ns timestamps, CRC32C framing, zero discovery stormsDDS middleware (FastDDS/CycloneDDS): multicast storms, dynamic allocations, complex XML QoS
Safety Plane & AI GuardHardware-isolated DeckOS MCU + compile-time SafetyEnvelopeRequired guard over HottubNNet proposalsOptional external safety PLC; nodes can publish directly to /cmd_vel unless manually wrapped
Cloud & Teleop PrivacyZero mandatory cloud or human teleop; local-first HottubFleet with offline e-stop & rollbackOften coupled to vendor cloud portals or remote WebRTC teleoperation bridges
EU 2023/1230 BlackBoxBuilt-in HottubDB BLAKE3 hash-chained flight recorder & one-call compliance evidence exportUnverified rosbag2/MCAP files without cryptographic chain-of-custody or model provenance
OTA & Rollback IntegrityHottubFleet signed A/B RAUC/MCUboot gate: refuses motion-active updates & downgradesApt/Docker/Snap fleet scripts with inconsistent rollback semantics
Operator Console & UIStrictly read-only HottubHTTP server + pure-Rust WebAssembly console (strict CSP, zero JS frameworks)WebSocket bridges (rosbridge_suite) & Electron/Node dashboards with broad mutable surface

6-Target Multi-SoC Qualification Matrix

Canonical hardware profiles declared in hottub-hal — non-anchored bench targets are enforced ObserveOnly at compile & runtime.

Target Profile IDArchOS RoleBoot CeilingEtherCAT / TSNCAN-FDActuation
jetson-orin-thoraarch64HottubOS Linux SBC (Vision + NNet)AnchoredYesYesQualified
nxp-imx95aarch64HottubOS Industrial Edge ControllerAnchoredYesYesQualified
rockchip-rk3588aarch64HottubOS Mid-Tier Mobile Robot SBCAnchoredNoYesQualified
x86_64-industrial-ipcx86_64HottubOS Workcell / Cobot IPCAnchoredYesYesQualified
rpi4-bench-bringupaarch64Bench Development & Bring-Up OnlyObserveOnlyNoYesBench Only
stm32h573-deckosthumbv8m.mainDeckOS Zephyr Hardware Safety MCUAnchoredNoYesSafety Gate
Bring HottubOS to Your Hardware: OEMs, cobot builders, quadruped makers, and industrial integrators can request a DeckOS hardware safety evaluation or HottubOS BSP pilot through Marketplace Enterprise Pilot RFQs, or sponsor robotics builders on robots.hottub.tech/advertise.