r/diydrones • u/covidcollector • 3h ago
Teaching a sub-250 g drone to explore and map a home using only depth sensors – progress video
Every Christmas I pick a project that is a bit too big for the holidays. This year it's an indoor patrol drone: a small, ducted quad that flies around the home by itself when nobody is there, checks on things, and no cloud assitance. No GPS (thist wont help at all indoor), no subscription, everything computed on the drone, and built only from parts anyone can order.
What works today
- Positioning and mapping from depth and inertial data only. The camera is not used for navigation, so it should work in the dark too.
- Autonomous exploration of a single-floor flat in simulation: 3 rooms, about 5 minutes, zero collisions.
- The whole stack (positioning, mapping, planning) runs in about 23 MB of RAM on the small Linux SoC that goes on the drone. That number is measured on the real chip, not on my PC.
What doesn't work yet
- Stairs. In a two-storey house it reaches both floors but does not finish the job. The open stairwell confuses the downward range measurement and it loses its footing, so to speak. That is what I'm fighting with right now.
- It has never flown. The simulation is a simple motion model, not real flight physics, and none of the numbers above are flight-proven.
- The hardware is still on the screen: the board is in layout, target weight under 250 g.
Why a drone and not a few fixed cameras
One moving sensor covers every room, including the spots where you would never mount a camera. It will carry a normal camera for the owner plus a small thermal sensor (only 768 pixels), which is enough to notice an iron left on or a hob that is still hot. The camera and thermal clips I have so far are simulated mock-ups of that view, not real footage.
What I'd like to hear
- If you have done indoor exploration on a real small drone: what bit you first when you left simulation?
- Ideas for making stairwells and other "the floor just disappeared" situations safe with a single downward range sensor.
I know thats just a simulation, but this place is how i teach it, while i'm designing the pcb.
i've uploaded more videos on X https://x.com/RoXzoR/status/2123006312300552431 check it if You are interested.