Research·May 19, 2026·6 min read

Autonomous Drone (ISRO IROC)

MAVLink mission automation, laser altitude Kalman filter & RTL failsafe.

Autonomous Drone (ISRO IROC)
Autopilot
Cube Orange
Protocol
MAVLink (pymavlink)
Sensors
LiDAR + Optical Flow
Failsafe
Heartbeat RTL

Pipeline & core implementation

Architecture Pipeline
LiDAR + FlowKalman FilterpymavlinkCube Orange
What broke first: Noisy laser range-finder spikes triggered abrupt throttle surges; adding height_kf.py Kalman filtering smoothed hover hold.
height_kf.py · Python
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)

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

MAVLink telemetry loop20 ms50 Hzpymavlink serial link

Project status & checklist

○ Needs work
Done
  • 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
Needs to be done
  • Mount & calibrate physical MLX90640 thermal sensor + optical flow on airframe
  • Run tethered hover & outdoor feeder inspection flight test