Autonomous Drone (ISRO IROC)
MAVLink mission automation, laser altitude Kalman filter & RTL failsafe.

Pipeline & core implementation
def update_altitude(pred_z, meas_z, gain=0.28): # Fuse baro/IMU prediction with LiDAR measurement return pred_z + gain * (meas_z - pred_z)
Companion computer mission routines
For both the ISRO IROC autonomous hover track and the ADD-Drone grid-inspection stack, control logic splits between a real-time flight controller (500 Hz IMU stabilization and fail-closed ESC mixer) and a companion computer running MAVLink / CBFP telemetry loops, LiDAR Kalman altitude smoothing, and automated heartbeat RTL.
Prop-off ESC bench safety & FastAPI GCS
Before touching propellers, I wrote a dedicated ADD-Drone ESC Bench Test Mode serial harness on ESP32 (1000–1100 µs capped PWM with a 2-second watchdog disarm) plus a FastAPI Ground Control Station logging RGB/Thermal feeds, catenary sag estimates, and PDF inspection reports.
What remains: outdoor field flight & live IR
Unit tests (test_protocol.py, test_sag.py, test_severity.py), the prop-off bench harness, and the Ground Control Station demo loop all pass locally. Remaining work is strapping the live MLX90640 thermal camera + downward optical flow onto the quad for outdoor feeder test flights.
Measured benchmarks
Project status & checklist
○ Needs work- ESC Bench Test Mode firmware with 2-second failsafe disarm
- Onboard Raspberry Pi 5 pipeline (demo RGB/Thermal, sag estimator, severity engine)
- FastAPI Ground Control Station backend, SQLite logging & unit test suite
- Mount & calibrate physical MLX90640 thermal sensor + optical flow on airframe
- Run tethered hover & outdoor feeder inspection flight test