Guides / iOS and Apple Platform Engineering
How do I automate DJI drone flights from an iPad app?
An iPad app can automate a DJI flight by using DJI's Mobile SDK to plan a route, send it to the aircraft as a mission, and trigger the camera along the way while the iPad stays linked to the remote controller. For building scans, the app also collects the photos and uploads them so cloud software can build a 3D model. The pilot stays in charge and can abort at any time.
How an iPad app flies a DJI drone on its own
The iPad does not fly the drone directly. It connects to the DJI remote controller, and the controller talks to the aircraft. Your app sits on top of DJI's SDK and sends the aircraft a flight plan instead of stick inputs.
A typical automated scan looks like this:
- Register the app with DJI's SDK so it is allowed to control the aircraft.
- Connect the iPad to the remote controller and confirm the drone, camera and GPS are all reporting in.
- Define the job: an area or a building, a set of waypoints, flight heights and camera angles.
- Upload the mission to the aircraft and start it. The drone flies the path on its own.
- Fire the camera at set points and record where each photo was taken.
- Watch battery, GPS and signal live, and give the pilot a clear abort and return-home button.
- Pull the captured images off the drone and send them to the cloud.
Most of the engineering effort goes into the steps around the flight, not the flight itself: connection handling, safety checks and getting the data off the device.
The iPad app Nithin built at Scanifly
This is the kind of app Nithin Gaddam built from September 2016 to March 2017 as an iOS developer at Scanifly. He built the iPad app single-handedly. It automated flying DJI drones to scan real estate, then sent the images and LiDAR data to the cloud, where they became 3D models of buildings.
Those models were used for shading analysis of solar panels. So the app was one link in a longer chain: the drone captures the building, the cloud builds the model, and the model feeds the solar analysis.
It was a short stint, and it came before his years on speaker companion apps at Logitech and Siri speech work at Apple. You can see the rest of that path on the home page.
Why solar shading needs a 3D model of the building
A solar design depends on what blocks the sun. That means the roof itself, but also chimneys, vents, trees and neighbouring buildings. A flat photo from the ground cannot capture that.
A 3D model built from drone images and LiDAR data gives the analysis real geometry to work with. That is why the flight has to be systematic. If the drone misses a side of the building or flies inconsistent heights, the model has gaps, and gaps in the model become guesses in the shading result.
Automating the flight is what makes the scan repeatable. The same pattern gets flown on every building, whoever is holding the controller.
Design lessons for a drone capture app
- Keep the pilot in control. Automation should never remove the abort button. Follow your local drone rules and keep the aircraft where you are allowed to see it.
- Treat the data as the product. The flight is only useful if every photo arrives with its position and the upload survives a weak connection.
- Make uploads resumable. Scan sets are large. On iOS, background transfer sessions and retry logic keep a dropped connection from costing you the job.
- Plan the path around the goal. A scan for shading needs the surroundings as well as the roof, so the path should reach past the edge of the building.
- Check SDK support first. DJI models and SDK versions change. Confirm which aircraft your target version supports before you commit to a design.
When a custom app is the right call
Off-the-shelf mapping and mission apps cover common jobs, such as surveying a field. If that fits, use one.
A custom iPad app makes sense when you need your own flight pattern, your own on-site workflow and your own cloud pipeline behind it. Scanning buildings for 3D models was that kind of job. It is also the same pattern as any hardware companion app: talk to a device, manage the connection, move the data somewhere useful. Nithin's later work on speaker apps follows it too, covered in how to build a companion app for a Bluetooth speaker.
Frequently asked questions
Can an iPad app really fly a DJI drone by itself?
Yes, within what DJI's SDK allows. The app uploads a mission and the aircraft flies it, while the pilot keeps the ability to abort and take over.
Who built the Scanifly iPad app?
Nithin Gaddam built it single-handedly while working as an iOS developer at Scanifly from September 2016 to March 2017.
What happened to the data the drone collected?
The app sent the images and LiDAR data to the cloud, where they were turned into 3D models of buildings. Those models were used for shading analysis of solar panels.
Do I need to build a custom app or can I use an existing one?
If your job is a standard survey, an existing mission app is faster. Build your own when you need a specific flight pattern and a cloud pipeline that is yours.
What else has Nithin built for Apple platforms?
At Logitech he built and maintained the Ultimate Ears Bluetooth and IoT speaker companion iOS apps, set up continuous integration for QA and production builds, and developed 2 private cocoapods.