QGroundControl provides full flight control and vehicle setup for PX4 or ArduPilot powered vehicles. It provides easy and straightforward usage for beginners, while still delivering high end feature support for experienced users.
To download and install software please refer to the relevant documentation for details.
Aside from Zubax GNSS 2 itself and the autopilot it will be connected to, the following parts will be needed:
- UAVCAN Micro patch cable (or an adapter cable, depending on the type of CAN connectors used in the autopilot hardware).
- UAVCAN Micro termination plug.
Please contact your supplier for ordering information. Alternatively, customers can choose to manufacture the needed cables/plugs on their own in order to suit some custom needs, in which case they should refer to the relevant documentation for details.
Since Zubax GNSS 2 can be powered directly from the bus, the electrical connections are quite simple:
- Connect Zubax GNSS 2 with Pixhawk using the appropriate cable. In case you’re using a non-redundant CAN interface (which is the only available option for Pixhawk v1), only CAN1 must be used, leaving CAN2 empty.
- Terminate the CAN bus using the termination plug.
Configuring the PX4 flight controller
Open QGroundControl application.
Connect Pixhawk with a computer using the micro USB cable. (Device will appear in QGroundControl application).
Set the configuration parameter
Only Sensors (2) or
Sensors and Motors (3) (or any higher value, if such available)
GPS will may take several seconds to get locked. You can check the status by clicking on button
Before starting calibration make sure Zubax GNSS and PX4 are aligned (use arrow markings) as shown below.
For calibration please refer to the relevant documentation for details.
After calibration go to
System Calibration. It will appear that three compasses have calibrated. Two compasses (internal mag) are on PX4 and one compass (no rotation) is on the GNSS module.
By default external compass will be your primary compass. If not please copy the value from the
CAL_MAGX_ID parameter to
If the autopilot reports issues with high magnetic field offsets, set the parameter
mag.scaling_coef on Zubax GNSS to approximately
0.6 and try calibration again
To check status or to troubleshoot the problem you can use MAVLINK console.
The MAVLink Console (
Mavlink Console ) allows you to connect to the PX4 nsh shell and send commands.
? will provide information about available commands.
uavcan status will display the status of uavcan and all sensors attached to it.
listener sensor_mag will display all compasses attached to the system and their status.
sensors status will display the status of all sensors and their priority. As you can see the external compass has the highest priority.