Alternative to DRTK2 and NTRIP Provider
Uploading and Loding Picture ...(0/1)
o(^-^)o
LV_Forestry
Second Officer
Flight distance : 4726654 ft
Latvia
Offline

What follows is a bit long, it is intended for people who intend to do precision mapping with drones equipped with RTK receiver. If this is not your case, sorry, but no solution will meet your needs here.

I am in no way affiliated with the companies producing and selling the hardware and software mentioned below. Only one customer satisfied with the good price/quality ratio.

The DRTK2 works, it is not at all questioned here. What is problematic, in my opinion is:
-Its lack of clarity in its operation. The documentation is very brief. When I read the manual available on the product page of the DJI website I have the impression that the message is: "do what you can, good luck".
https://dl.djicdn.com/downloads/ ... uide_v2.4_multi.pdf
-During firmware updates there have been several times in the past floating moments where the receiver was unusable.
-To go from one range of drone to another, you have to do manipulations that I find cumbersome.
-The price is a bit high knowing that you can't use it to capture GCPs unless you have the P4RTK RC with integrated screen.

To overcome these problems I used until then a Trimble receiver, which allowed to rule out the problems of firmware, clarity of use... The fact remains that price level is well beyond the DRTK2, which is in itself a problem. More recently I had the unpleasant surprise to learn that the license of the software sold with the Trimble receiver had expired, impossible to reconfigure the receiver without spending a thousand dollars to renew the license.

So I looked into the problem, namely finding a cheaper, unlicensed receiver. I work regularly with the ZEDF9 range of receivers from U-Blox, which are very easy to integrate into various and varied systems. Forestry machine in my case. In addition, their accuracy is excellent when used with the correct antenna.

I'll make it short, while browsing the internet I came across the site of the manufacturer of the prototype boards that I use regularly and which offers this product:
https://www.sparkfun.com/products/18443
17369-GPS_RTK_Surveyor_-_Enclosed-01.jpg

Knowing the reliability of the receiver, I decided to order it in its complete kit version, box + antenna:
https://www.sparkfun.com/products/17370
17370-SparkFun_RTK_Surveying_Kit-02.jpg

It is a simple product, its purpose is to provide precision coordinates in rover mode paired with a base station, and RINEX observations in base mode. The software is open-source:
https://github.com/sparkfun/SparkFun_RTK_Surveyor

To complete it I use a Bosch PRO BT160 tripod. It is originally designed for an optical level of the same brand but exists sold alone.
https://www.boschtools.com/us/en ... pods-bt160-34307-p/
Bosch_Tripod_BT160_(EN).png

You will find in the attached ZIP file the 3D models of the parts to adapt the antenna mentioned above. To be 3D printed or CNC milled. Everything is in metrics. If you need different dimensions feel free to ask. The receiver bracket is printed flat. Then heat the plastic along the grooves with a heat gun and bend the parts at 90 degrees. Use gloves and away from flammable materials!

Following a few requests, I will now describe how it works with the DJI L1 LiDAR for PPK. Why PPK? Because it is a fast and precise method. Better than RTK.

During the first use of the box, insert a blank SD card, then turn on the box in rover or base it does not matter.
A file named "SFE_Surveyor_Settings_0" will be saved on the SD card. It will allow you to configure the receiver. You can also use WI-FI or Bluetooth to configure it. I let you consult the official site which is regularly updated and well detailed.
SparkFun RTK Surveyor Hookup Guide - SparkFun Learn

After performing the initial configuration, open the file and check that the message "UBX_RXM_RAWX.msgRate" is equal to 1. Why 1? For one Hertz, one observation is recorded per second. That's more than enough for what we're going to do.
        
A/ Antenna instalation1st method/ you have access to an NTRIP network but a little too far to ensure the necessary precision in direct connection with the LiDAR.

A1/ Assemble the antenna on the tripod without using the pole. It is much more convenient to use. Try to put the antenna horizontally but no precision is required.
IMG_20230221_122317.jpg

A2/ Open the SWMaps app on your smartphone. Then connect your receiver via Bluetooth. The height of the instrument must be zero!
SWBlutooth.JPG
SWBlutoothdevice.JPG

A3/ Connect to your NTRIP caster by entering the credentials. This can be configured directly in the receiver if you let it have access to your smartphone's WiFi hotspot. It is faster.
SWNTRIP.JPG

A4/ Wait for the receiver to go into "FIX" status then press the pencil at the bottom right.
TYPEFIX.JPG
SWPENCIL.JPG

A5/ Tap "Record using GPS"
SWRECOR.JPG
A6/ Check the "averaging" option then let the receiver establish an average of his observations. Be sure to be in "FIX" before doing this. You now have time to prepare the drone and warm up the LiDAR.
SWAVER.JPG

A7/ When the coordinates Lat Long and Alt ellipsoidal are stable, write them down on a paper or a TXT document on a laptop. Coordinates are WGS 84 decimal, UTM are not needed.

Note : You can perform this manipulation without the SD card being inserted in the receiver. Therefore you can write the coordinates directly on the Sd card TXT file (step C1). But keep these coordinates saved somewhere safe because they will be reused later in Terra.

A8/ Switch OFF the receiver and go to step C1.
        
B/ Antenna instalation 2nd Method/ There is no base station, no NTRIP, no GSM network, but there are geodetic markers.

B1/ Go to the website of the national geographic agency of your country then look for the closest landmark to your place to be mapped.
VGT.JPG

B2/ Go to the indicated place, take a shovel and look for the mark. The type of shovel does not matter but be careful not to damage the marker while digging. Some are extremely old and fragile. My technique is to probe with a concrete reinforcement metal piece before digging unnecessarily over several m2.
IMG_20230221_135444.jpg IMG_20230221_135440.jpg

B3/ Install the antenna with the pole and the tripod on the landmark. The pole I use is the one that came with my Trimble receiver. Nevertheless it can be purchased very easily. No need for a carbon pole. On this pole there is a spirit level. It is extremely important to put the antenna perfectly in line with the marker.
IMG_20230221_135855.jpg

Note : Do not screw too hard so as not to crush the plastic to keep the pole sliding smoothly.
IMG_20230221_135948.jpg


C/Flight Preparation
C1 and C2 are necessary only if you want to broadcast RTCM. For an OBS file only, it is not necessary because these coordinates will have to be entered later in the post process.

C1/
Open the TXT file present on the SD card and fill in the Latitude and Longitude coordinates of your previously installed base station. The one given by SWMaps for the first method, Those given by your geographical agency for the second.Take this opportunity to double check that "UBX_RXM_RAWX.msgRate" is equal to 1.

Remember : Coordinates must be WGS 84 decimal.

  C1a/ Case of the first method : Enter the ellipsoidal elevation as displayed on the SW Maps app when acquiring the coordinates.
  C1b/ Case of the first method : Enter the ellipsoidal elevation of the landmark provided by the geographic agency by adding the height of the pole, plus the distance between the base of the antenna and the center of the phase. It is mentioned on the documentation of the antenna and very often on a label glued directly above.
TXTFile.JPG

C2/ Be sure FixedBase=1 and FixedBaseCoordinateType=1.  Save the TXT file then put the SD card back into the receiver.
Note: step C1 can be done entirely via Bluetooth or Wifi. Refer to the Sparkfun manual. Personally I prefer to do it manually.
SparkFun RTK Surveyor Hookup Guide - SparkFun Learn

C3/ Put the receiver in "base" mode before turning it on.

C4/ Turn on the receiver, wait a good minute to be sure that recording has started (red LED on), you are ready! To wait for this minute it is at this moment that I do the pre-flight visit of the drone. Check that everything is tight, clean lenses, clear environment... IMG_20230221_123411.jpg

D/Flight
D1/ On the RC, you can simply deactivate the RTK, then start your flight. With the LiDAR L1 the preview of the point cloud on the RC will be catastrophic without RTK but it is absolutely not serious issue. Unless you want to show a customer in real time how pretty it is. You can leave the receiver recording all day (If you operate within a 10km radius), if the battery is not enough, you can add a power bank through one of the two USB-C sockets. My built-in battery lasts about 4 hours.

E/ After the last flight
E1/ Turn off the receiver, save the SD card carefully. See you at the office!

F/ Work in the office
F1/ Start by copying and pasting on the desktop the .UBX file that is on the receiver's SD card.
UBX file.JPG

Note: From this point you have several options. We'll stay within the L1 LiDAR framework, but if anyone wants to know how to get a RINEX file from it for example, just ask I'll gladly update.

F2/ Paste this .UBX file in every folders associated with flights performed with the L1 LiDAR.

F3/ Delete the .RTB file if it exists. If the RTK is disabled during the whole drone flight, this file must not exist. So don't worry if it is not there.

F4/ Rename the .UBX file by copy/pasting the name of the .RTK file which is different in each folder.

The Folder must look like that :
L1Folder.JPG

Note: For steps F2 F3 F4 it is also valid if you use an .OBS file from a third party RINEX data provider.

F5/ Open Terra, create a new point cloud reconstruction mission.

F6/ Add one or more folders, depending on the scope and the connections between different flights.

F6/ Enter the coordinates of the base station that you measured and provided to the receiver when it was installed, for Each Folder ! Latitude Longitude and Ellipsoidal altitude WGS84 decimal format.
TerraBaseCoord.JPG

F7/ Select the desired parameters for the reconstruction, start the process and a few minutes later, you will have everytime a magnificent geo-referenced point cloud with an accuracy of about 5cm counting the error of the PPK which will be of the order of a centimeter + that of the LiDAR and its IMU.
TerraRecons.JPG

Say goodbye to RTK/IMU problem error messages that destroy whole days of work by surprise.
TerraError.JPG

Once again, this receiver is not only dedicated to L1 LiDAR. It is compatible with absolutely all systems requiring files in RINEX .OBS format or U-blox in RAWX format. That is to say all DJI and other brand drones equipped with RTK receiver as mentioned at the beginning are compatible.
It can also be used as an NTRIP caster via SNIP/RTK2GO.
RTK2GO – Hassle Free RTK NTRIP Streaming
Simple NTRIP Caster – SNIP (use-snip.com)

From this .UBX file mentioned above it is possible to obtain a huge amount of information, and file format. It is possible to process it with RTKLib and Emlid Studio, among other things, to georeference drone pictures with precision.

The receiver can also be used to capture GCPs using it with SWMaps and the pole.

Hope you enjoy !

Sparkfun RTK Bosch BT160.rar (239.2 KB, Down times: 24)
2023-2-21
Use props
paulvern
lvl.1

Italy
Offline

Thank you very much, a very clear tutorial, I will try your solution for sure!
2023-2-22
Use props
patiam
Second Officer
Flight distance : 1093865 ft
  • >>>
United States
Offline

This is great! Thank you!
2023-2-24
Use props
DakarBlues
lvl.1
United States
Offline

Thank you for this awesome solution. Will it work to optimize the positioning of a drone (DJI Mavic 3 Enterprise)?
2023-4-2
Use props
LV_Forestry
Second Officer
Flight distance : 4726654 ft
Latvia
Offline

DakarBlues Posted at 4-2 08:20
Thank you for this awesome solution. Will it work to optimize the positioning of a drone (DJI Mavic 3 Enterprise)?

Yes if you have the "RTK" module.  The name is a bit paradoxical because this module does not only RTK.  It is also capable of recording in OBS format in order to use the PPK method described above.  

You will find an OBS file and an MRK file in the drone.  Then you can use RTKLib Explorer, Emlid Studio... to geo reference your images with precision.  

You can also broadcast live via RTK2GO.
2023-4-2
Use props
djiuser_QaVCIEUrRv9t
lvl.1

France
Offline

Hi! There is a free Ntrip server in France: it's called Centipede. It's based on open source and open data stuff. Have a look at docs.centipede.fr
I have build my own station and use it with my john deere tractors and a home made rover and SWmaps (like the sparkfun).
A friend of mine have recently bought a DJI Mavic 3M, and the RTK works correctly with centipede Ntrip server.  

2023-5-27
Use props
ne14Yah
lvl.2
Flight distance : 10299 ft
United States
Offline

Does the SparkFun receivers have the capability to cast NTRIP directly to a dji pro controller?  If so, what is the procedure?  I am unable to find any information on SparkFun's site, nor in their forum.   I am considering this receiver for my M300.  Thank you in advance for the help!
2023-7-19
Use props
LV_Forestry
Second Officer
Flight distance : 4726654 ft
Latvia
Offline

ne14Yah Posted at 7-19 11:19
Does the SparkFun receivers have the capability to cast NTRIP directly to a dji pro controller?  If so, what is the procedure?  I am unable to find any information on SparkFun's site, nor in their forum.   I am considering this receiver for my M300.  Thank you in advance for the help!

You have to configure an NTRIP caster with U-center for example.  

It works with any development board that includes a RTK-Ready U-Blox receiver.  

You broadcast the RTCM on the local network by linking the RC with the computer via the wifi hotspot of a smartphone for example.  

But this requires having a computer, a smartphone, configuring the caster...  Much better to just save RAWX and do PPK.  Saving time and precision.

The one and only added value of the RTK is to be able to use the "terrain follow" function, in order to have a precise height in a region with high relief.
2023-7-19
Use props
Edwin Escobar
lvl.2
Flight distance : 796991 ft
  • >>>
Guatemala
Offline

Thank you.  Great work explaining.  This is certainly a great alternative to D-RTK2 and solving external power source and remote turning on/off the RTK.
2023-9-30
Use props
djiuser_gZ9QUgUQrL71
New

Russia
Offline

I connect my mavics to RTKdata.online NTRIP caster. It's more stable and unlike rtk2go it doesn't ban my IPs
2023-10-22
Use props
VBio
lvl.2
Flight distance : 569577 ft

Indonesia
Offline

Thank you for the clear tutorial. I also found that the DRTK module is too simple and a bit regret to purchase this. I think would be better if I purchase M3M and Emlid for base (also for RTK).
2023-11-29
Use props
Seth Everman
New

Austria
Offline

Thank you for the great instructions! As my approach includes working with a Leica GNSS (GS18), I end up with files not in.ubx format but ".23O", ".23N" etc. As far as I understood from your post, DJI Terra also works with ".obs", but I am not sure how I get the ".obs" from the before mentioned files. Could you help me with that? Thank you very much again!
2023-12-14
Use props
LV_Forestry
Second Officer
Flight distance : 4726654 ft
Latvia
Offline

Seth Everman Posted at 12-14 06:45
Thank you for the great instructions! As my approach includes working with a Leica GNSS (GS18), I end up with files not in.ubx format but ".23O", ".23N" etc. As far as I understood from your post, DJI Terra also works with ".obs", but I am not sure how I get the ".obs" from the before mentioned files. Could you help me with that? Thank you very much again!

You simply need to change the file extension from .23O to .OBS
2023-12-14
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules