tpt-teleop-construction

Rust

Zero-bloat, safety-critical Rust middleware for autonomous heavy machinery and mining — excavators, haul trucks, dozers, drills, and TBMs, from open-pit surface ops to GPS-denied underground tunnels. MIT OR Apache-2.0.

0 stars0 forks0 watchersApache License 2.0

Languages

Rust99.6%Shell0.4%
README

tpt-teleop-construction

Heavy Machinery & Mining Operations middleware for the tpt robotics ecosystem — a hyper-optimized, zero-bloat, safety-critical Rust workspace for autonomous excavators, haul trucks, dozers, loaders, drill rigs, and tunnel boring machines in open-pit mines, underground mines, quarries, and large-scale civil construction.

See spec.txt for the full design document and bridge spec.txt for the tpt-teleop-domain-bridge integration contract this workspace adapts to. Outstanding work is tracked in todo.md.

Workspace layout

All crates live under crates/ and use the tpt-t-construction- prefix (the repository itself keeps the full tpt-teleop-construction name).

CratePurpose
tpt-teleop-ringVendored lock-free SPSC/MPSC ring buffer used for IPC/telemetry
tpt-t-construction-canZero-alloc CAN/J1939 parsing: identifier/PGN decoding, engine SPN decoders, BAM transport reassembly
tpt-t-construction-coreCentral event loop, machine state machine, lock-free message bus
tpt-t-construction-excavatorAutonomous excavator: trenching, truck loading, grading
tpt-t-construction-haulAutonomous haul truck: road navigation, dump queueing, payload tracking
tpt-t-construction-dozerAutonomous dozer: slope grading, cut/fill tracking, material pushing
tpt-t-construction-loaderWheel/front-end loader: bucket digging, lifting, truck loading
tpt-t-construction-drillAutomated drilling rigs: blast hole patterns, rock hardness detection
tpt-t-construction-hilHardware-in-loop test harness: a HardwareBackend trait run today against a simulated plant
tpt-t-construction-mineUnderground navigation: LiDAR SLAM, UWB positioning, ventilation-aware routing
tpt-t-construction-tunnelTBM/roadheader control: advance rate, cutter head torque, segment installation
tpt-t-construction-hydraulicProportional hydraulic valve control: 1kHz PID, pressure comp, flow sharing
tpt-t-construction-powertrainDiesel engine/transmission control: torque management, derating
tpt-t-construction-terrainReal-time 3D terrain modeling, slope stability, obstacle detection
tpt-t-construction-payloadCut/fill volume calc, on-board payload weighing, material classification
tpt-t-construction-safetyProximity detection system (PDS): perception fusion, dynamic warning zones
tpt-t-construction-rolloverRollover protection: tilt/CoG estimation, automatic braking
tpt-t-construction-fatigueOperator fatigue monitoring: eye tracking, steering analysis, rest enforcement
tpt-t-construction-wearPredictive maintenance: SIMD FFT vibration analysis
tpt-t-construction-telemetry100Hz high-frequency telemetry logging to local NVMe
tpt-t-construction-simHeadless simulator: vehicle/hydraulic/engine dynamics, synthetic sensors
tpt-t-construction-vizegui-based visualizer: terrain heatmaps, trajectories, pressures, spectra
tpt-t-construction-teleopAdapter to tpt-teleop-domain-bridge: teleoperation handover, valve translation

Sister repositories

Part of the tpt ecosystem alongside tpt-teleop (core teleoperation platform), tpt-teleop-fleet, tpt-t-agri, tpt-teleop-marine, tpt-teleop-medical, and tpt-teleop-defense.

Building

cargo build --workspace
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --all -- --check
cargo deny check

License

Licensed under either of

at your option. The dependency chain is strictly MIT/BSD/ISC: cargo-deny rejects Apache-only dependencies, and dual-licensed dependencies resolve under MIT (see deny.toml).

Source file header convention

Every source file carries:

// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 TPT Solutions