Search...
Menu

Using PX4 firmware

PX4 Setup Tutorial

Communication via serial port

Currently, RTK Ultra cannot output GPS YAW heading data to the flight controller via CAN communication;

To check whether the firmware is compatible: Connect the flight controller to QGroundControl, and check in the parameter configuration interface whether the parameter [SEP_PORT1_CFG] indicates compatibility.

Currently, the firmware of the X6 series flight control that is burned online in qgc is not compatible. Please contact Zero One Flight Technology to provide compatible flight control firmware.

Parameter configuration

Assuming that the UART of RTK ULtra is connected to the GPS2 interface of the flight controller and RTK Ultra is used as the main GPS, the following parameters are configured:

  • SEP_PORT1_CFG Set to GPS2
  • gps_1_config Set to disabled
  • SEP_YAW_OFFS Set the yaw angle, if the primary antenna is in front, set the heading offset to 0. Angles increase clockwise, so if the primary antenna is on the right side of the vehicle and the secondary antenna is on the left, set the offset to 90 degrees.

RTK heading confirmation

Check the yaw data of GPS_RAW_INT in the mavlink monitoring interface of Analyze Tools. If it is consistent with the flight controller's nose pointing, it means that GPS_YAW_OFFSET is set correctly.

The hdg value of GLOBAL_POSITION_INT and the yaw value of GPS_RAW_INT are consistent, indicating that the aircraft heading uses RTK direction data.

Previous
Using ardupilot firmware
Next
Module extension configuration
Last modified: 2025-07-03Powered by