QGroundControl is a software package that can be used to flash, configure and calibrate the flight controller.
Download and install the version for your operating system from the official QGroundControl website. When asked, agree to install additional drivers.
Consult the official QGroundControl user guide if anything goes wrong.
Prepare the MicroSD card for your flight controller.
- Put the card into your computer (use an adapter if necessary).
- Format the card to FAT32 filesystem. Right click on the SD card icon in Windows Explorer and select "Format". Use the Disk Utility in macOS.
- Use "Safely Remove Hardware" and unplug the card.
- Put the card into your flight controller.
Do not connect your flight controller prior to flashing.
We recommend using the modified version of PX4 by CopterExpress for the Clover drone, especially for autonomous flights. Download the latest stable version from our GitHub.
For Pixhawk-based quadcopters there is a separate firmware version. See details in "Pixhawk / Pixracer firmware flashing" article.
Flash the flight controller with this firmware:
- Launch QGroundControl software.
- Open the Vehicle Setup tab.
- Select the Firmware menu.
- Connect your flight controller to your PC over USB.
- Wait for the flight controller to connect to QGroundControl.
- Select PX4 Flight Stack in the right bar.
To use the recommended Copter Express firmware:
- Check Advanced Settings checkbox.
- Select Custom firmware file... from the dropdown list.
- Press OK and select the file that you've downloaded.
To use the latest official stable firmware just press OK.
Wait for QGroundControl to finish flashing the flight controller.
Do not unplug the flight controller during the flashing process.
Read more about the firmware in the "Pixhawk Firmware" article.
You can use the Raspberry Pi to access the flight controller over Wi-Fi for the rest of the setup process.
This is how the main QGroundControl settings window will look like:
- Parameters that require setup: Airframe, Radio, Sensors, Flight Modes.
- Current firmware version.
- Current flight mode.
- Error messages.
- Open the Vehicle Setup tab.
- Select the Airframe menu.
- Select the Quadrotor X airframe type.
- For Clover 4 select COEX Clover 4 from the dropdown menu. Otherwise select Generic Quadrotor X.
- Return to the top of the list and press Apply and Restart button, confirm by pressing Apply.
- Wait for the settings to be applied and for the flight controller to restart.
Open the Vehicle Setup tab and select the Parameters menu. You can use the Search field to find parameters by name.
Press the Save button to save the changed value to the flight controller. Changing some parameters require rebooting the flight controller. You can do that by pressing the Tools button and selecting the Reboot vehicle option.
Selecting COEX Clover 4 frame subtype doesn't require setting PID coefficients.
Note that you should fine-tune the PID parameters for each drone individually.
CBRK_USB_CHKto 197848 to allow flights with the USB cable connected.
- Disable safety switch check:
Next: Sensor calibration.