C-RTK3 G5 (PX4) Configuration Guide


This chapter applies to using the C-RTK3 G5 with the PX4 flight stack (smart controllers running PX4 firmware).

[!NOTE] The C-RTK3 G5 supports connection to the controller via CAN (DroneCAN) and UART. CAN is recommended. Before configuration, please mount both antennas with a minimum separation of 30cm, and ensure a clear view of the sky. Avoid placing near windows or other obstructions, as this may prevent the heading solution from being obtained.

Using DroneCan

C-RTK3 G5

Enabling the C-RTK3 G5

[!NOTE] After setting the following parameters in QGroundControl > Vehicle Setup > Parameters, reboot the controller.

Parameter Name Value Comment
UAVCAN_ENABLE "Sensors Automatic Config" Enable automatic configuration of UAVCAN sensors
EKF2_GPS_CTRL 15 Use dual-antenna GNSS heading as the yaw source
EKF2_GPS_POS_X (Fill in according to actual installation, unit: meters) Set the offset of the primary antenna from the vehicle center of gravity (CG). Example: If the antenna is 25cm forward of the CG, set EKF2_GPS_POS_X to 0.25
EKF2_GPS_POS_Y (Fill in according to actual installation, unit: meters) Set the offset of the primary antenna from the vehicle center of gravity (CG). Example: If the antenna is 25cm to the right of the CG, set EKF2_GPS_POS_Y to 0.25
EKF2_GPS_POS_Z (Fill in according to actual installation, unit: meters) Set the offset of the primary antenna from the vehicle center of gravity (CG). Example: If the antenna is 25cm below the CG, set EKF2_GPS_POS_Z to 0.25
UAVCAN_PUB_RTCM Enable / UAVCAN_PUB_MDB If using RTK, subscribe to PX4 forwarding RTCM data to the base station
EKF2_GPS_YAW_OFF 0 / 90 / other angles Heading offset. Angles increase clockwise. Set to 0 if the primary antenna faces forward; set to 90 degrees if the primary antenna is on the right and the secondary antenna is on the left
GPS_UBX_MODE Heading Configure the UBX GPS for heading (direction) mode
UAVCAN_SUB_GPS Enable Enable UAVCAN GPS data subscription
UAVCAN_SUB_GPS_R Enable Enable UAVCAN backup GPS data subscription

Verifying Heading Information

  • After configuration, place the vehicle outdoors in an area with a clear view of the sky and wait for GPS lock. Once the GPS has a valid fix, check the YAW value in GPS_RAW_INT in the QGroundControl > MAVLink Inspector. If it matches the vehicle's actual heading, the configuration is correct. If not, check the GPS_YAW_OFFSET setting of the C-RTK3 G5.

C-RTK2 HP

  • Consistent values between the hdg field in GLOBAL_POSITION_INT and the yaw field in GPS_RAW_INT indicate that the vehicle's heading is using GNSS-derived direction data.

C-RTK2 HP

results matching ""

    No results matching ""