User guide for Ardupilot
This tutorial uses the Mission Planner ground station software and the Arducopter-3.5 firmware. If you are using PX4 firmware and QGroundControl ground station software,Please read the PX4 RTK docs.
Please prepare the following hardware devices and perform hardware connection before use.
Setting parameters(for Flight control )
[!NOTE] If you connect RTK GPS (6pin interface) to the flight control GPS interface and only use GPS1, no configuration is required after connection. But the C-RTK has two sets of GPS built in. For your flight safety, we recommend that you turn on GPS2.
Enable GPS2
Flight control connection on the commission plnner "debug / configuration > all parameters table"
- GPS_TYPE2 set to 1.
Base station configuration
[!NOTE] This is not necessary if you use C-RTK BASE.
If you use Ardupilot firmware to build an RTK differential system, you need to perform base station-side positioning configuration and data forwarding through the missionplanner. During the positioning configuration of the base station, there is no need to start the mobile station and drone.
- Open the Mission Planner
- Enter the initial settings
- Click on optional hardware
- Click on RTK/GPS Inject you will see the following page:
- Set the base station port in the upper left corner
- Click connect
- In the SurveyIn Acc section, enter the absolute geographic accuracy that you expect your C-RTK base station to achieve. In the Time field, enter the shortest search time you want.
- Click Restart (the ground station will transfer the data you input to the C-RTK base station, and the base station will start a new round of search star positioning)
- You will see the following page: During the search process, the current search star positioning will be displayed in the box on the right side of the Mission Planner page:
- Position is invalid: The base station has not yet reached a valid location;
- In Progress: Search Star is still in progress;
- Duration: The number of seconds the current search star has been executed;
- Observation: the number of observations obtained;
- Current Acc: The absolute geographic accuracy that the current base station can achieve.
- The green vertical bar below Mission Planner shows the satellite and satellite signal strengths currently searched by the base station. The base station requires a certain amount of convergence time to meet your desired accuracy requirements. After testing, in an unobstructed area, it takes a few minutes to reach an absolute accuracy of 2m, and an absolute accuracy of less than 30cm takes about one hour, and it takes several hours (under ideal conditions) to achieve an accuracy of less than 10cm.
[!NOTE] The absolute geographic accuracy of the base station here will affect the absolute geographic accuracy of the mobile station without affecting the relative accuracy of the base station and the mobile station. If your application does not require drones with high absolute geographic accuracy, you don't need to set the base station's accuracy too high, resulting in longer search times. Even if the accuracy of the base station is 1.5~2m, the positional accuracy of the mobile station relative to the base station can still reach the centimeter level.
After the C-RTK base station search star is completed, the Mission Planner will display the following page:
The indicator lights showing the status of the base station below are shown in green, while the GPS and Glonass satellite systems are shown in green . The box on the right is shown as Position is valid.
Store the current location in the Mission Planner: Click Save Current Pos, enter a name in the dialog box, and click OK. As shown below, you can see where you are stored in the list. Click the Use button corresponding to the location you saved, the base station will enter the fixed point mode, and the status displayed in the box on the right is Using FixedLLA. In the future, when you set up the base station in the same location, you don't need to search for the star again. Just click the Use button corresponding to your storage location.
RTK positioning status
Using the paired digital transmission module to connect to the same Mission Planner ground station, the data of the base station will be transmitted to the C-RTK mobile station on the drone through the data transmission module. On the main page of Mission Planner, you can see that the current GPS status of the drone is displayed as RTK Float/RTK Fixed/3D RTK, indicating that the UAV's positioning has entered the RTK state.
RTK Float is a floating point solution.
RTK Fixed is a fixed solution.
RTK Fixed has higher accuracy and is extremely environmentally demanding, and positioning can enter the RTK Fixed state when the signal is good enough。