MAVProxy icon indicating copy to clipboard operation
MAVProxy copied to clipboard

Resend Position to NTRIP Caster

Open richahert opened this issue 3 years ago • 2 comments

Some NTRIP Casters (e.g. SAPOS in Germany) close the connection if they don't get a position within 30 seconds. Then MAVProxy waits for 15 seconds and restarts the connection.

The two main problems with this behaviour are:

  • Until MAVProxy restarts the connection the ntrip corrections are not up to date. Although the RTK Fix is usually not lost, the precision is worse than necessary.
  • Restarting the connection every minute means additional charges for some Casters.

This can be fixed by sending the location every second: Moving the "send-GGA" block at line 162 inside the while loop at line 173.

richahert avatar Dec 07 '21 09:12 richahert

@richahert that looks straight-forward enough.

Have you coded a solution? Have you considered creating a PR for it?

If not, I can create something if you're happy to test it.

peterbarker avatar Dec 29 '21 00:12 peterbarker

Thanks @peterbarker for your response. I created a PR that should solve the problem. My initial idea was not quite correct but I think now I found a good way.

richahert avatar Jan 07 '22 15:01 richahert