mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.28k stars 3.6k forks source link

RTK: NTRIP Corrections #7133

Open Naterater opened 5 years ago

Naterater commented 5 years ago

The following template is for Issue/Bug reporting only. https://docs.qgroundcontrol.com/en/Support/Support.html#github-issues

For questions about how to use or build QGC see: http://qgroundcontrol.com/#resources

If you are using an old stable release please upgrade first and verify your issue before reporting.

Expected Behavior

I want to be able to access RTK corrections from my NTRIP provider. Mission Planner allows me to do this, however I see nothing about NTRIP in QGC.

Current Behavior

Unavailable

Steps to Reproduce:

N/A

Detailed Description

I believe Mission Planner's code utilizing NTRIP is here: https://github.com/ArduPilot/MissionPlanner/blob/b26324bdc7e9abd87eb7e9c02bfc11f7184a9a51/ExtLibs/Comms/CommsNTRIP.cs

dogmaphobic commented 4 years ago

Is the data provided by an NTRIP server the same you get from a regular RTK base? (sorry, I briefly looked up NTRIP and got lost rather quickly with the cacophony of mud like explanations).

highfreq commented 4 years ago

Would it be possible to add ntrip corrections from an internet server (we have subscroption) and inject it trough mavlink? Basically same as MP

maxhofidrone commented 4 years ago

Hi, are there any news of this feature? I would be very interested for using data of a NTRIP server and QGC?

bys1123 commented 4 years ago

I saw few Chinese survey drone company need this feature too.

AlexKlimaj commented 1 year ago

I would also like to see this implemented

ChinaMan28 commented 1 year ago

Implementing this would literally change the UAS Mapping/Survey industry. I to support this.

KnightHawk06 commented 2 months ago

Any movement on this ticket? Would be very useful to be able to connect to remote RTK via NTRIP in QGC. https://www.u-blox.com/en/product/u-center currently supports this.

AlexKlimaj commented 2 months ago

Not quite the same thing, but we made a client that receives corrections via the Point1 Polaris service and publishes them to a mavlink router connection.

https://github.com/ARK-Electronics/polaris-client-mavlink

KnightHawk06 commented 2 months ago

@AlexKlimaj Thanks for pointing me to the client. I was able to get it setup but I'm having issues connecting.

polaris

mavlink-routerd -e 127.0.0.1:14550 -e 127.0.0.1:14551 -e 127.0.0.1:14552 /dev/ttyUSB0:57600

I've started mavlink-router forwarding the 3 ports that I'm connected to, I am able to connect to 14550 and 14551 but not 14552.

./build/polaris-client-mavlink Waiting for MAVSDK connection: 127.0.0.1:14552

This is with QGC v4.3 on Ubuntu 22.04

Any ideas? I have been able to connect to my Polaris account in ucenter with my login credentials, there's not anything else needed to connect to the api key is there?

AlexKlimaj commented 2 months ago

Where is mavlink router running and where is polaris running? Also 57600 baud is likely too low.

KnightHawk06 commented 2 months ago

Mavlink router, Polaris and QGC are all running on the same Ubuntu box pointing to the local host (127.0.0.1)

I'll try a higher data rate.

KnightHawk06 commented 2 months ago

I tried updating the RFD 900x-US radio settings to connect at 115200 and 460800 but I'm not able to get QGC to connect via UDP to mavlink-router at those rates for some reason, it will only connect at 57600.

Are there any logs that I can look at? I'm only seeing this message below from the polaris client.

Waiting for MAVSDK connection: 127.0.0.1:14552

It looks like I'm connected to the port in QGC and I see some message content using netstat.

KnightHawk06 commented 2 months ago

I was able to get QGC to connect at 115200, you have to update SER_TEL1_BAUD to 115200 if you update the baud rate on the radios. (assuming you're connected to TEL1).

AlexKlimaj commented 2 months ago

So QGC should connect to port 14550 and polaris should connect to 14552.

KnightHawk06 commented 2 months ago

Correct, QGC is connecting on 14550 but Polaris just prints the "waiting for MAVSDK connection" message