DroneDeck desktop app
Set up the system
From an unopened box to a first flight. About 30 minutes, most of it waiting for a battery.
Runs on · The laptop with the Crazyradio plugged in
Check you have everything
Six things. Miss one and the drone either will not fly or will not know where it is.
- Crazyflie 2.1 drone, assembled with propellers fitted
- Lighthouse positioning deck — a small board with four black domes
- Two Lighthouse V2 base stations
- Crazyradio PA — the USB dongle with the antenna
- At least one charged LiPo battery
- A USB-C to micro-USB cable, for charging
Not sure which part is which? See every component photographed and labelled.
Install from a terminal — Mac
One command builds DroneDeck on your Mac and puts it in Applications — right for Apple silicon and Intel alike. The first build takes about ten minutes; updates are quicker. You need two things before you start:
What you need
- Git — type git --version in Terminal. If macOS offers to install the developer tools, accept: that is Git and the Xcode Command Line Tools in one go
- Node.js 24 — from nodejs.org
Then run, in order
Everything else it checks for itself, first — Xcode Command Line Tools, Rust, pnpm 10 and Python 3.11 or newer — and lists each one missing with the exact command to install it, all at once. Install those, run node scripts/install.mjs again, and it carries on. Running it again later is also how you update.
Install from a terminal — Windows
One command builds DroneDeck on your PC and installs it for your user — no administrator prompt — and it appears in the Start menu. The first build takes about ten minutes. Use PowerShell, Command Prompt or Git Bash, in a normal Windows folder. You need two things before you start:
What you need
- Git for Windows — from git-scm.com
- Node.js 24 — from nodejs.org
Then run, in order
Everything else it checks for itself, first — Microsoft C++ Build Tools (with "Desktop development with C++" ticked), Rust, pnpm 10 and Python 3.11 or newer (tick "Add python.exe to PATH" when you install it) — and lists each one missing with its fix, all at once. The C++ Build Tools are the slow one, so installing them before you start saves a round trip. Then install the radio's driver — see Plug in the radio.
Install from a terminal — Linux
One command builds DroneDeck and installs it for your user — no sudo for the install itself — in your applications menu and as the command dronedeck. The first build takes about ten minutes. Ubuntu under WSL on a Windows PC works the same way; the radio needs one extra step there (see Plug in the radio). You need two things before you start:
What you need
- Git
- Node.js 24 — from nodejs.org
Then run, in order
Everything else it checks for itself, first — Rust, pnpm 10, Python 3.11 or newer with venv and its shared library, and Tauri's build libraries — and prints one install command for your distribution. On Debian or Ubuntu it is: sudo apt install libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev libdbus-1-dev pkg-config xdg-utils python3 python3-venv python3-dev. Then give yourself access to the radio — see the next step.
Plug in the radio
The Crazyradio goes into your laptop, not the drone. It is a USB-A plug, so most modern Macs need a USB-C adapter or a hub. On a Mac there is no driver to install — the app finds it.
On Windows the radio needs a driver, installed once. The app tells you when it is missing:
- Download Zadig from zadig.akeo.ie and run it
- Choose Options → List All Devices, then pick Crazyradio PA USB Dongle
- Pick libusb-win32 as the driver and click Install Driver (Replace Driver if it already has another one)
It must be libusb-win32, not WinUSB — the flight library talks to the radio through libusb-win32 on Windows. On Linux, only root may open the radio until you add Bitcraze's udev rule and join the plugdev group, once, then log out and back in. The install command prints the exact commands, and the app says so if it finds the radio but may not open it. On Ubuntu under WSL, first attach the dongle to WSL with usbipd-win (learn.microsoft.com/windows/wsl/connect-usb) — until then WSL cannot see any USB device — then add the udev rule as above.
Set up positioning
The drone cannot hold a position without this. Two base stations, in opposite corners of the flight area, about two metres up, both angled toward the middle. One works; two is steadier, because a single station leaves nothing to fall back on when the drone blocks its own view.
Then measure where the stations are, once: quit the app, and from the drone-capstone folder run ./dronedeck geometry --distance 1.0 — it asks you to move the drone between samples. Repeat it any time a base station is moved or knocked.
Check before you fly
On the Control page, press Start session. Nothing spins — the app asks the drone its questions and shows each answer as it arrives, among them:
- Is the battery charged enough to arm?
- Is the positioning deck fitted?
- Can it see the base stations?
- Has its position estimate settled?
Green means ready. Anything else names what to fix, in plain words — and flying without positioning needs a second, explicit confirmation.
Your first flight
Start small: 30 cm for a few seconds. Put the drone on the floor, not a table, with about two metres clear around it and nothing fragile nearby.
It will take off, hold its height, and land by itself. Once that works, scale up.
Useful commands
Run these in a terminal, inside the drone-capstone folder you cloned. Each one works on every system unless it names one.
Install and update
Get the newest version of the code.
Install DroneDeck, or update it to what you just pulled. Quit the app first — the command will not replace a copy that is running, because closing it lands a drone that is flying.
The same, then open the app.
Build only, and say where the build is. The installed app is left alone.
Check this computer for everything the build needs, and change nothing.
Open and remove
Mac: open the app. It is also in Applications and Launchpad.
Linux: open the app, when ~/.local/bin is on your PATH. It is also in your applications menu. On Windows, open it from the Start menu.
Mac: remove the app — or drag it from Applications to the Bin. If it was installed to ~/Applications, remove it from there.
Windows, in PowerShell: remove the app. Or Settings → Apps → Installed apps → DroneDeck → Uninstall.
Linux: remove the app. The install command prints this line with your exact paths.
Logs
Mac: the folder with agent.log — send it to us when the app reports a problem. When the app was renamed from CropWatcher it moved this folder across, so older sessions are still found.
Windows, in PowerShell: the same folder.
Linux: the same folder.
Flight lab (developers)
Every pre-flight check, from the terminal. Never spins a motor. Quit the app first — only one program can use the radio at a time. The ./ matters: it runs the flight agent from the repo folder. On Windows, run these in Git Bash.
Which base stations the drone is receiving, live, for 20 seconds.
Measure where the base stations are. It asks you to move the drone between samples. Run it again whenever a station is moved.
Take off to 30 cm above the floor, hold for 10 seconds, land. Clear space first.
The firmware's propeller test. The propellers spin — keep hands clear.
When it will not fly
Every one of these cost us real time during bring-up. Symptoms first, because that is what you actually see.
I press fly and absolutely nothing happens
Usually: The battery is too low for the drone to arm.
The drone refuses to spin its motors below about 3.75 V, and it will not tell you out loud. Charge for 20–30 minutes, then power-cycle the drone. The Check screen shows this as 'firmware will not arm'.
The app says no drone found
Usually: The radio or the drone is not visible.
Confirm the dongle is plugged in — with an adapter if your laptop is USB-C only. Then confirm the battery is connected and the drone is switched on. LEDs lighting up does not mean the battery is charged.
Windows: the app says the Crazyradio has no driver, or the wrong one
Usually: Windows does not install the radio's driver by itself.
Run Zadig, choose Options → List All Devices, pick Crazyradio PA USB Dongle, choose libusb-win32 and click Install Driver — or Replace Driver if it shows WinUSB. Then unplug the dongle and plug it back in.
Ubuntu under WSL: the app opens, but finds no Crazyradio
Usually: WSL cannot see USB devices until one is attached to it from Windows.
Install usbipd-win on Windows and attach the dongle to WSL, as Microsoft describes at learn.microsoft.com/windows/wsl/connect-usb, then add the udev rule (the install command prints it). Or install DroneDeck on Windows itself, from PowerShell — then it is in the Start menu and uses the Zadig driver instead.
Linux: pnpm app fails with "xdg-open binary not found"
Usually: pnpm app is the developer build; it also makes an AppImage, which needs xdg-open.
Install the xdg-utils package (on Debian or Ubuntu: sudo apt install xdg-utils) and run it again. node scripts/install.mjs does not need it — it builds only what it installs.
The old CropWatcher app is still installed
Usually: The app was renamed DroneDeck on 28 September 2026.
Run node scripts/install.mjs again after git pull. Once DroneDeck is installed it removes the CropWatcher copy it installed before — quit that copy first. Your sign-in, sessions and saved Wi-Fi passwords carry over.
Linux: the app says this user may not open the Crazyradio
Usually: Without a udev rule, Linux lets only root use the dongle.
Run node scripts/install.mjs again: it checks for the rule and prints Bitcraze's exact commands (a rule in /etc/udev/rules.d and the plugdev group). Log out and back in afterwards, then unplug the dongle and plug it back in.
The app says it is not connected to the flight agent
Usually: The part of the app that talks to the radio stopped, or another copy holds its port.
The message says which. Quit every copy of DroneDeck (and any agent started from a terminal), then reopen it. If it stops again, its log is in ~/Library/Application Support/DroneDeck/logs on a Mac, %APPDATA%\DroneDeck\logs on Windows and ~/.local/share/DroneDeck/logs on Linux — send us agent.log.
It lifts a few centimetres and will not go higher
Usually: It has no position feedback, so it cannot climb safely.
Check the Lighthouse deck is fitted and both base stations are powered and visible. If the Check screen shows zero base stations, something is blocking the line of sight.
It drifts around instead of holding still
Usually: The position estimate is unstable where the drone is sitting.
Move it back toward the middle of the flight area and try again. If it keeps drifting, re-run geometry calibration — a base station has probably been moved.
It flew, then landed on its own part-way through
Usually: The battery dropped to the safety threshold.
This is the system working. It lands under control rather than cutting out mid-air. Charge fully before a long mission — a full pack gives roughly four minutes of flight.
Manual control will not connect
Usually: The browser cannot reach the app on your machine.
Manual flight needs the DroneDeck app running on the same computer or the same network. It deliberately does not work over the internet: the delay would make the drone unflyable.