Drone GCS · Drone Bridge · DroneNet
The drone is there, the operator is here:
controlling DJI drones from a laptop through a smartphone intermediary
Drone GCS plans and flies DJI drones from a computer or tablet. The operator does not have to stand next to the remote controller: between the operator and the drone sits a simple Android phone mounted on the controller. The phone can be old and cheap, because it only works as a bridge.
Where the idea came from: three bottlenecks
The project did not grow out of a wish to write yet another drone app. It grew out of several inconveniences that show up in everyday work with drones today.
1. The operator is usually easy to locate
A drone takes off from somewhere, lands somewhere, and the control signal comes from somewhere. From these three clues it is not hard for an outsider to work out where the operator is standing. In everyday life that does not matter, but where the sky is watched for more than curiosity, such transparency can be dangerous.
The intermediary scheme separates these points. The operator sits at a computer, the controller with the bridge phone stands elsewhere (20–30 m away or farther), and takeoff and landing can happen in a third place. The operator's location no longer coincides with the location of the radio source.
This is not camouflage and not a guarantee of safety. The controller and Wi‑Fi radiate a signal themselves, and the operator's network traffic leaves traces too. The scheme only separates the person from the controller; it does not remove serious risks. The program is intended for civilian use.
2. There is no single universal program
Each existing program is strong in one thing. One is excellent at surveying a surface, reading a map and building terrain, but returns the drone to the starting point imprecisely. Another tracks an object and orbits it from every side, but is weak elsewhere. A third can fly the maximum distance. To get everything at once you have to keep several programs and switch between them.
Drone GCS brings these scenarios together in one place: waypoint routes, area and terrain surveys, object orbits, payload drops, manual control, and battery and wind calculation. The pilot chooses the return point explicitly: the operator, the takeoff spot, the Home point (H) or any place on the map. Return accuracy in the field is being tested constantly.
3. You can run several drones with different tasks
A typical scenario: one drone orbits an object in a tight circle, a second flies a wide radius, a third casts fishing tackle, and a fourth climbs higher and watches over all the others. Each has its own job, and the operator sees the whole picture in one window.
One more useful property: long-range flight without a constant link
Some programs stand out because the task does not require keeping the drone connected all the time: it flies, does the work and returns on its own, even if the link is lost halfway. Lose the link, come back, and be found. For Drone GCS this is a principle: the mission is uploaded to the bridge phone and executed there, and if the link drops, a pre-selected action applies ("continue", "hover" or "go home"). Details and caveats are below, in the section "How it works inside".
The main idea: an intermediary instead of a direct link
DJI drones are flown with a remote controller, and they can only be programmed through the official developer kit (the DJI Mobile SDK). It runs on a mobile device connected to the controller with a cable. That is why an ordinary waypoint app sits on a phone that the pilot holds in their hands at the controller. The operator and the controller are inseparable: wherever one goes, the other goes too.
Drone GCS breaks this tie. The program runs on a Mac or an Android tablet, while a separate Android phone is connected to the controller. That phone in turn runs a small bridge app (Drone Bridge): it takes telemetry, video and the ability to send commands from the DJI SDK and relays all of it to the Mac over ordinary Wi‑Fi. The operator sees the drone on the map, watches the video, plans a route and presses "start", and the bridge passes the commands to the drone.
An important detail: the operator's link to the phone runs over Wi‑Fi, while the phone's link to the drone (through the controller) stays the native DJI radio link. The two segments are independent. Wi‑Fi can be extended with a router or a repeater, and the drone's radio channel stays exactly the same as with a standard controller.
Why remoteness matters
The distance between the operator and the controller solves several practical problems by itself.
- The controller can be placed in a better spot. A roof, a mast, a tree branch: the higher and more open the controller's antennas, the more stable the channel and the farther the drone can fly from the ground without losing signal. The project is designed for an altitude of about 120 m and a range of roughly a kilometer.
- The operator works in comfort. The map, video, event log and altitude profile are more convenient on a big screen than on a phone at the controller. There is no need to hold the controller while the drone follows its route.
- One control post. One computer can run up to four drones, each with its own controller and its own bridge phone.
- Easy equipment replacement. If the bridge phone breaks, it is replaced with another cheap Android phone, which is a consumable, while all the logic stays on the Mac.
Important about flight rules. Controlling through an intermediary does not cancel legal requirements. Let us remember that this is a civilian aircraft. In most countries a drone must be kept within visual line of sight, and responsibility for the flight lies with the pilot. If the operator is far from the drone and cannot see it, there must be an observer or pilot next to the controller who can take over. Check the rules of your country and area in advance.
The bridge phone: why an old Android is enough
The bridge phone does a very narrow job: it keeps the USB connection to the controller, talks to the drone through the SDK and passes data to the Mac. All the heavy calculations (map, route, altitude profile, battery and wind estimates, mission processing) are done by the computer. So there are almost no requirements on the phone's power.
Minimum requirements
- Android 7.0 or newer. This is the minimum version for the bridge. Officially, DJI Mobile SDK V4 declares support for Android 5.0 and above, but the project targets more modern systems so that the app runs reliably in the background.
- A USB port with data transfer (not charging only), to connect the controller with a cable.
- Wi‑Fi, preferably dual-band, on the same network as the Mac.
- GPS in the phone. The phone's position serves as the "operator" point for the drone's return.
- 2 GB of memory or more, and a standard Android without aggressive manufacturer "optimizers".
If you are buying a spare phone specifically, it is wiser to take Android 8 or newer. For now the spare is an Ulefone T1 on Android 8.1: it is fine for testing, but its battery drains within a day even when switched off, so it is not the main phone in the field.
This screen is all the phone has to do: start the app, wait for the DJI kit to register and for the link to the Mac. The computer finds the phone by itself (Bonjour discovery), and if the network does not allow that, the Mac's address is entered manually (port 8765). The bare interface is exactly why even an old, weak phone will do: all the work and all the control live on the Mac.
Power and background operation
While the phone is mounted on the controller, it is powered from the controller's battery. This removes the main fear of old phones (a quickly draining battery): during the flight it is not used up. The app runs as a background service with a persistent notification, so Android does not put it to sleep. The service has a "Turn off" button, so the bridge can be stopped from the app itself.
The phone is a consumable. It stands on the controller, outdoors, in any weather. If it fails, you lose neither the drone nor the data, only an inexpensive device that can be replaced in a couple of minutes by installing the bridge on another phone.
How it works inside
What is passed between the phone and the Mac
- Telemetry: coordinates, altitude, speed, heading, battery state (voltage, temperature, current, cycle count), satellite count, drone status.
- Commands: takeoff, landing, pause, stop, return home, camera gimbal, photo and recording, lights.
- Video from the drone's camera travels as a separate stream on its own port so that it does not interfere with telemetry.
- The mission is uploaded to the phone in full and executed there.
The mission lives on the phone, not on the Mac
This is the key decision for reliability. When the operator presses "start", the route is already on the bridge phone. If the link between the Mac and the phone drops, the mission can keep going: the settings include an action for link loss ("continue", "hover" or "return home"). If instead the controller loses its link to the drone, the standard DJI protection (return to home) takes over.
When Wi‑Fi comes back, the bridge reports the current state, and the map shows the drone's real position again. While there is no link, the Mac shows a gray marker at the last known position and, next to it, a translucent estimated marker where the drone should be according to the route.
What "it returns by itself" really means
It is important not to promise too much here, because the chain has two different links.
- The link between the Mac and the bridge phone is lost. The mission is already on the phone and continues (if "continue" is selected), and when it ends, the drone returns to the chosen place. The operator does not have to keep the computer connected all the time.
- The radio link between the controller and the drone is lost. The bridge phone cannot control the drone, so the standard DJI return-to-home takes over. It brings the drone to the home point that the program set before the start. For a payload drop this means the drone comes back together with the payload.
The flight range is still limited by the drone itself: battery charge, wind, radio range and restricted zones. The program calculates the battery reserve and warns you, but distance and permissions remain the pilot's responsibility.
How the Mac knows which drone it is
Each bridge phone has a permanent identifier that does not depend on its IP address. The Mac remembers which "slot" (tab) it belongs to and keeps a separate mission and drone profile for it. That is why a change of address on the network does not confuse the tab.
What lets the operator be even farther away
For now the Mac and the phone live on the same local network. A private ZeroTier virtual network is already set up for the "target" phone (which runs a separate app, Drone Target): it provides a link not only over home Wi‑Fi but also over mobile internet. The same approach can be applied to the bridge.
What you can do from a distance: mission types
The mission type is chosen from a drop-down list. All missions are prepared on the map, the logic is verified in the simulator, and the bridge phone executes them.
Waypoint route
The classic mission: points on the map, altitude, speed, camera focus. You can start from any point or from where you stopped, replace the battery in the middle of a route and continue. For a replacement the drone flies on command to the operator (or any chosen place), lands or hovers, and after the swap continues "from where it stopped". Route corners can be switched between "Smooth" and "Straight" (sharp turns without splines). Altitude is set above ground or from the takeoff point, and the program recalculates it from the terrain by itself. Each point can have its own altitude, speed, heading and camera tilt, and below the map an altitude profile shows the flight time, route length and the number of batteries needed.
Area survey
The drone flies a "lawnmower" pattern over a plot with the camera looking straight down, and the pictures are taken with a set overlap. Later they are assembled into an orthophoto and an elevation map. The author's goals: to understand where water runs off, to assess the terrain of a building plot, and to find traces of old buildings in a field. Processing is done in an external program (WebODM), and water and terrain analysis in QGIS.
In the program the plot is drawn with corners on the map, and the panel immediately calculates the result: area, number of passes, spacing between them, frame width on the ground, resolution (centimeters per pixel), speed and number of photos. There are two target modes: "Orthophoto" and "Terrain and 3D".
Orbiting an object for a 3D model
The drone circles a building, a castle or a church on several altitudes (up to three tiers), with its nose and camera pointed at the center, and takes photos with overlapping frames. Such a set of pictures is suitable for building a 3D model.
The same principle applies to a moving target. For orbiting a person on the move there is a separate mission with strict safety limits (see below). It was tested on a moving target: instead of a person the drone followed a horse, and the result was good.
Payload drop
A mission for delivering a light payload to a given point, and also for fishing: the drone carries the tackle beyond the casting range of a rod. The operator marks the drop point on the map, the drone flies to it, descends, takes a "before" photo, switches on the front lights (this triggers a home-made release mechanism), takes an "after" photo and returns to the chosen place. The line, the payload and anything hanging under the drone remain the pilot's responsibility.
Before the start the program calculates the distance, the percentage of working time and the battery reserve (30% instead of the usual 20% to account for the line), and shows warnings about line length and link range. The warnings block nothing: the decision stays with the pilot.
Manual control and camera from the Mac
The "Remote" tab has an on-screen joystick and keyboard control: W and S for forward and back, A and D for rotation, Q and E for sideways movement, and the up and down arrows for altitude. The drone moves while a key is held; release it and the drone hovers. If no commands arrive for more than 0.3 s, the bridge zeroes the sticks by itself. Speed is limited, and any movement of the physical controller's sticks cancels control from the Mac.
The controller's C1 and C2 buttons are also assigned from the program with drop-down lists (for example, "Camera: forward / down" and "Front lights: on / off"). Next to each there is a "press" button on the computer: the controller is far away, so the press goes over Wi‑Fi to the phone, which does whatever is selected in the list. The assignment is stored on the phone, so the buttons work even without a link to the Mac. "Home" and "Stop" act immediately, without confirmation. There is also "Look around 360°": the drone hovers and slowly rotates (the speed is adjustable).
The "Camera" tab shows the video, lets you take photos and record, tilt the gimbal with a slider (from −90° to +20°) and check the free space on the memory card.
Planning helpers
- Battery and wind. The program calculates whether the battery is enough to reach the return point given the wind (forecast plus manual correction), shows yellow and red warnings and counts the batteries needed for the task. There is a "Home for recharge" button.
- Altitude profile. Explained in detail in the section "The altitude plan under the map" below, where the stretches below the safe minimum are also highlighted.
- Wires. Power lines from OpenStreetMap and your own "+ Wire" marks. Route segments near wires are highlighted in red. This is a hint, not a guarantee: many local wires are missing from the map.
- Drone limits. Maximum altitude and radius are read and changed from the program. They only warn and never forbid.
- The "Home" button. In the air it brings the drone back; on the ground it sets the "Home" point (the H marker on the map), which is passed to the drone for the standard return.
Several drones from one computer
The intermediary makes one more thing possible: one Mac runs up to four drones. Each drone has its own controller, its own bridge phone and its own tab with a color, a name, a flight icon and a battery percentage. Each tab has its own video window and its own map with a track and heading.
Verified on two drones at once (Phantom 4 and Mavic Mini): tabs, video for each on its own tab, the "Home" button and different missions running at the same time. Planned: showing the other drones on the selected drone's map, a "Stop all" button and proximity monitoring.
The "orchestra" scenario
The main goal of the multi-drone mode: every drone has its own task, its own mission and its own profile, while the operator watches all of them at once.
| Drone | Task |
|---|---|
| No. 1 | Orbiting an object on a small radius |
| No. 2 | Orbiting on a wide radius |
| No. 3 | Casting fishing tackle (the "payload drop" mission) |
| No. 4 | Watching all the others from above |
What already exists and is verified: a separate mission and session for each drone, separate video and map on each tab, all the needed mission types, and two drones working at once on different tasks. What is not there yet: showing the other drones on the selected drone's map (exactly what the "observer" needs), a common "Stop all" button and proximity monitoring. Check the local rules on the number of drones per operator in advance.
The altitude plan under the map
The map shows the route "from above", and that is exactly why it does not tell the main thing: at what altitude the drone passes each place. For this, the bottom of the program window has a collapsible strip called "Altitude profile", the flight altitude plan. It shows where the route goes higher, where lower, and where the height above ground drops below the safe minimum.
How to read the graph
- Horizontally is the distance along the route in meters; vertically is the altitude above sea level.
- The blue line is the altitude at which the drone will fly. The steps in the graph are transitions between orbit tiers (in this example the first circle at 25 m, then 45 and 50 m).
- The brown fill is the terrain under the route. The gap between the line and the fill is the height above ground.
- Red on the line marks a danger exceedance: a stretch of the route below the set minimum. The same stretch is highlighted in red on the map, so you can see exactly which place is a concern.
- The header gives the summary at once: flight time, length, minimum and maximum height above ground and above sea level, and on the right how many route segments are below the minimum.
How the altitude is calculated
The altitude in a mission is set either "above ground" or "from takeoff". In the "above ground" mode, before sending, the program recalculates the points' altitudes from the terrain: it takes the terrain at the point, adds the set height and subtracts the terrain at the takeoff place. The terrain data comes from a free service with an accuracy of roughly 30–90 m and is calculated in advance, so for fields without internet it is stored together with the mission. The bridge on the phone does not calculate anything further: it flies using the ready-made altitudes.
The profile shows the terrain, not trees and buildings. The error of the terrain data is tens of meters, and the graph does not account for buildings, forest or wires. So a "green" profile does not mean the route is safe: the altitude margin remains the pilot's responsibility.
Wires and power lines on the map
For small aircraft, power lines are the main danger: a wire is almost invisible from the ground and even harder to see on video. Around the author's house overhead wiring runs everywhere, so real flights take place in open fields, and the wire problem was handed to a separate function of the program.
What the operator sees
- The "Power lines on map" checkbox. When it is on, power lines and poles are drawn on the map around the route. The data comes from OpenStreetMap and is saved to disk, so in a field where there may be no internet it is already at hand.
- Highlighting of dangerous route sections. If the route passes closer than 30 m to wires and below their estimated height with a 15 m margin, that section turns red and the program shows a warning. What is checked is not the drone's altitude "on the fly" but the planned altitude of each part of the route, so the dangerous place is visible even before takeoff.
- Estimated wire heights. If the map gives no height, the program uses a cautious estimate: about 10 m above ground for local lines and 25–40 m for high-voltage ones.
- Your own wires. The "+ Wire" button lets you mark a wire on the map by hand. This is needed because local lines are often missing from OpenStreetMap, and those are exactly the ones that most often hang over fields. Your own wires work like map data: sections near them are highlighted in red.
- Altitude profile. Explained in detail in the section "The altitude plan under the map" above, where the stretches below the safe minimum are also highlighted.
This is a hint, not protection. The map does not know about unmapped wires, new masts, trees and buildings, and the program does not see obstacles by itself. If there are wires nearby, the pilot marks them by hand and keeps an altitude margin. The function has been verified in the author's real area, where there are many overhead lines.
The "candle": climb to a set altitude and look around
Another useful property of the remote scheme: at the start the drone can make a "candle": take off vertically to a set altitude, hover and look around for obstacles near the takeoff point that are higher than the altitude at which the route will run. Maps and databases do not know this, but the camera sees the real surroundings of the takeoff point right now.
How it works
- Climb. The pilot sets the altitude, and the drone takes off vertically and hovers.
- A 360° turn. The drone slowly rotates in steps of 20–30° with the gimbal raised (up to +30°), and frames from the video stream go to the Mac.
- Analysis on the computer. In every frame the "sky – obstacle" line is found, and from it the elevation angle for each direction is calculated (heading and gimbal tilt are known from telemetry).
- Converting angle to height. With caution: the obstacle is assumed to stand at the distance of the route point. This is more accurate if the distance to the building is known from the map.
- Two tiers. First a low look-around, and if it is clear, a climb higher and a repeat.
What already exists
The candle works end to end: the drone climbs to the altitude set by the pilot, turns 360° (the "Remote" tab also has a separate "Look around 360°" button with a choice of speed and direction), and the Mac analyzes the frames and looks for the "sky – obstacle" line. It was verified in real flights, because this mode cannot be checked in the simulator: the picture there is fake.
Limitations
- Sky detection works worse under solid overcast, against the sun and at dusk.
- Wires and thin masts are not visible in the frame, so the candle does not replace marking wires on the map (see the section above).
- The vertical climb itself needs clear sky above the takeoff point: it is better to start from a small altitude in an open place, with no wires or branches above the takeoff point.
The candle ties together everything else in the article: the map and the altitude profile show hazards known in advance, and a look from above adds what the map does not have.
Safety: what stays with the remote controller
The program is built so that the remote operator never takes the last word away from the pilot.
- The controller wins. Moving the sticks of the physical controller cancels any command from the program.
- Standard DJI protection. If the controller loses its link to the drone, return-to-home kicks in. Before a mission the program sets the home point.
- Manual control from the Mac is switched on with an explicit button, only in the air, and works while the key is held.
- Person tracking: a minimum safe altitude above the start (40 m by default), hovering if the target's GPS is lost for more than 5 seconds or the target goes beyond the set radius, and activation only after confirmation.
- Warnings, not bans. The program does not bypass restricted zones and blocks nothing, but it shows the risks in advance.
The program does not see obstacles. Trees, wires, masts and new buildings may be missing from the map. Do your first flights in an open place, with no people or wires nearby, and with the controller in your hands.
What has been verified and what comes next
| Feature | Status |
|---|---|
| Route missions, return, battery swap, camera, telemetry | verified in the simulator |
| Several drones: tabs, video, the "Home" button | verified on two drones |
| The Android version of DroneNet with a Mavic Mini: takeoff and landing from the app through the bridge | verified on a real drone |
| Payload drop, object orbit, manual control, wires, limits, battery and wind estimates | verified in the simulator and in the field |
| The "candle": a 360° turn and automatic frame analysis (obstacle search) | verified |
| Person tracking, elevation map and orthophoto in the program | verified |
The Android version: DroneNet
Next, the program moves to Android. DroneNet repeats the Mac version: a map, missions, video in a floating window, and a flight screen in the style of the DJI app (full-screen video, a mini-map, a top bar with home, mode, battery and satellites). At first it works through the same bridge, then the DJI SDK will be built into it, and a tablet on the controller will fly the drone directly, without a second phone. The bridge will remain as a fallback.
What you need to get started
- A DJI drone and its controller (Phantom 4, Mavic Mini and others supported by the DJI Mobile SDK V4).
- An Android phone, version 7.0 or newer, with USB, Wi‑Fi and GPS for the bridge. The APK file of the Drone Bridge app is installed on it.
- A Mac with Drone GCS installed (a ready dmg for Apple Silicon and Intel) on the same Wi‑Fi network as the phone.
- Switch on the controller, then the drone, wait for 10 or more satellites, connect the phone to the controller and start the bridge. In the "Android bridge" section on the Mac, "Connected" and the build number will appear.
- For the first test: tick the "Simulator" checkbox, then make a short flight over an empty place with the controller in your hands, following the checklist from the project.
The main thing this scheme gives you: the operator no longer needs to be next to the controller, and the controller does not need an expensive smartphone. All the "smart" part lives on the computer, and the bridge can be replaced in a couple of minutes.



