OPEN-SOURCE REAL-TIME AUTONOMY · C++20 / CUDA / TENSORRT

Aegis-RT

A deterministic, zero-heap-allocation edge perception and closed-loop control stack driving both a 6-DOF Quadrotor UAV and a 4-Wheel Ackermann Rover at ~1,000 Hz.

Interactive Multi-Vehicle Showcase

Autonomous Pursuit Simulation

Geometric SE(3) Aerial Pursuit

Tracks an agile 3D figure-8 target beacon weaving through cylindrical pillars using pure neural-network vision, linearized RGB-D depth back-projection, a latency-compensated 6-state Kalman filter, and X-frame 4-rotor allocation.

0.83 ms
End-to-End p50
1,161 Hz
Sustained Rate
0.055 m
3D Tracking RMSE
100.0%
Visual Lock Rate

Interactive Amdahl's Law Bottleneck Explorer

Click a hardware backend below to inspect why accelerating neural inference 9.6x shifts host CPU image preprocessing from 4.3% to ~30% of total frame time—motivating our ARM NEON SIMD 2×2 Box-Downsample & Separable Bilinear LUT (CpuPreprocessPlan), zero-alloc pre-bound ORT tensors with Chrome-trace profiling (OrtBackend::Stats), and custom fused CUDA kernel (src/kernels/preprocess.cu) on GPU.

ORT-CPU-FP32 (Pre: 0.25 ms | Inf: 5.53 ms | Ctl: 0.001 ms | p99: 7.05 ms) Preprocess Share: 4.3%
Preprocess (Letterbox + NCHW) Neural Inference (AegisNanoDetector) Kalman + SE(3) / Ackermann Control (0.001 ms) Full Track = 16.67 ms (60 Hz Deadline)
Aegis-RT Telemetry Benchmark Plots

Interactive Control & State-Estimation Lab

Explore the exact real-time algorithms running inside src/control/: switch between the Tangential Vortex Potential-Field Avoidance simulator, the Adaptive NIS Kalman Tracker, and the Momentum-Based 3D Disturbance Observer (Wind & Mass Rejection).

Vortex Curl Ratio (β)0.55

Set β = 0.00 to observe a pure radial field stall behind collinear pillars; β = 0.55 matches obstacle_vortex_ratio in controller.hpp.

Standoff Distance2.60 m
1.12 m
Min Pillar Clearance
1.84 m/s
UAV Cruise Speed

Latency-Compensated Joseph KF

Back-propagates capture state via exact delay Jacobian, gates outliers by Mahalanobis χ², and boosts Q on maneuvers.

H = [I₃, -Δt·I₃], P = (I-KH)P(I-KH)ᵀ + KRKᵀ

Momentum 3D Disturbance Observer

Cancels realized thrust and gravity algebraically with anti-windup clamping to reject wind gusts and payload mass mismatch.

â = clamp(z + kᵈ·v, ±aₘ), ż = -kᵈ(aᵐᵒᵈ + â)

Geometric SE(3) + Desaturation

Maps desired thrust vector onto SO(3) attitude error and preserves roll/pitch authority before collective/yaw clamping.

eᵣ = ½(RᵈᵀR - RᵀRᵈ)∨, fᵢ ∈ [0.2, 7.5] N

Ackermann Pure-Pursuit

Computes exact inner/outer front wheel angles around the instantaneous turning center plus rear torque vectoring.

δˡ,ᵣ = atan(W·tanδ / (W ∓ ½T·tanδ))

About the Author

Mahrus Chowdhury

Computer Engineering · Real-Time Autonomy, Edge AI & GPU Systems

Building deterministic software where algorithms meet physical hardware—from lock-free C++20 runtimes and CUDA/TensorRT inference kernels to closed-loop robotics and embedded silicon.

Why I Built Aegis-RT

Most AI demos stop at running Python scripts on recorded video. In real autonomous systems—whether aerial drones, ground rovers, or spacecraft—every millisecond of tail jitter, PCIe memory copy, and sensor-to-actuator latency directly impacts physical stability. I built Aegis-RT to bridge deep learning inference with hard-real-time Computer Engineering principles, and made the entire stack open, documented, and reproducible so anyone can experiment with it.

C++20 / Embedded Systems CUDA & TensorRT (FP16/INT8) MuJoCo & Sim-to-Real State Estimation (Kalman) Geometric SE(3) & Ackermann Control Lock-Free Concurrency Hardware-Software Co-Design