ArduPilot / MAVProxy

MAVLink proxy and command line ground station
GNU General Public License v3.0
464 stars 678 forks source link

Resend Position to NTRIP Caster #977

Open richahert opened 2 years ago

richahert commented 2 years ago

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:

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.

peterbarker commented 2 years ago

@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.

richahert commented 2 years ago

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.