Connect your Claude, Codex or OpenClaw for full transcripts on millions of podcasts. Two week free trial, cancel anytime.
Start free trial →Software Engineering Radio - the podcast for professional software developers · Hands-On Engineering Podcasts · November 2026
Asked what state estimation is, Tridgell explains that drone flight controllers fuse noisy, drifting, vibration-affected sensors using an extended Kalman filter. The software's real job is deciding which inputs to believe.
…who's the head for state estimation, looks after our EKF architecture, which is state estimation. Working out where you are, which way up you are, and where you're going is really important to this type of vehicle. And so a huge amount of work goes into the state estimation. That's all Paul's area.
So state estimation is taking the input from all of these sensors and fusing them together to determine where in the world I am, which way up I am. Which my nose is facing and so on.
That's right. And the fundamentals of these types of vehicles is ArgyPilot can support very high-end sensors. I mean, you can put $100,000 IMU on, and some people do on algebra vehicles, but very rarely. Usually people put the cheap and cheerful IMUs, which basically means that all of your sensors are lying to you. And the EKF's job is to sort out all the lies to create the truth because every sensor has errors, right? And the types of errors vary with flight phase. When you've got vibration effects, you've got just drift, temperature drift, atmospheric drift, all sorts of things. And the EKF has to take all of that erroneous input and produce as accurate a possible an estimate of all of the different states. So roughly speaking, it's sort of a 21-state EKF. So they're all the different things we look at. And those states include things like attitude as a quaternion and position velocity and all sorts of bias states, gyrobiases, accelerometer biases, magnetometer biases, wind estimation, lots of…
So you essentially run several instances of this algorithm or perhaps different algorithms to try and estimate the state of the vehicle. And there's some system of, is it based on voting or quorum or there's some other heuristics used to determine this sensor is telling us we're at this altitude…
Yeah, so the robustness is at several different levels. So the most common type of vehicle, I mean, some vehicles only have one IMU, but most commonly three IMUs. And by default, we arrange things so you run one EKF per, we call them lanes. There's basically one EKF per IMU. And then you have…
So to make that a little bit more concrete for the listeners, can you recall any examples where this EKF switching or the vehicle essentially flip-flopping between different opinions it has about where it is or which way it's facing? How does that manifest in flight and cause a real issue?