Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image AddedThis tutorial demonstrates how to use Zubax GNSS 2 with PX4-based flight controllers. The documentation for PX4 is available at px4.io.Image Removed

Software Installation

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.

Required parts

Aside from Zubax GNSS 2 itself and the autopilot it will be connected to, the following parts will be needed:

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.

Configuring the PX4 flight controller

Set the configuration parameter UAVCAN_ENABLE to Only Sensors (2) or Sensors and Motors (3) (or any higher value, if such available), then reboot.

Tip

Don’t forget to perform compass calibration when done. 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

Connecting

Since Zubax GNSS 2 can be powered directly from the bus, the electrical connections are quite simple:

  1. 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.
  2. Terminate the CAN bus using the termination plug.

    Image Added

Configuring the PX4 flight controller


Tip

Don’t forget to perform compass calibration when done. 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


  1. Open QGroundControl application.     

      Image Added  


      2. Connect Pixhawk with computer using the micro USB cable. (Device will appear in QGroundControl application).

      Image Added


      3. Set the configuration parameter UAVCAN_ENABLE to Only Sensors (2) or Sensors and Motors (3) (or any higher value, if such available).

      Image Added

      Image Added


      4. Reboot Device

     Image Added


     5. GPS will may take several seconds to get locked. You can check status by clicking on button named GPS Status as shown below.

    Image Added

    Image Added

    Image Added 

...