rtkbase icon indicating copy to clipboard operation
rtkbase copied to clipboard

NMEA output

Open ktuulos opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. I have some applications, which operate on NMEA feed. They don't understand binary messages. Currently RTKBase works only using binary messages and there is no ready-made option to enable also NMEA message forwarding. However, at least in F9P, it is possible to get both NMEA and binary messages, as I understand.

Describe the solution you'd like There should be possibility to enable NMEA messages from GNSS receiver and those should be available in some TCP port.

Describe alternatives you've considered Currently I have connected a separate GPS receiver to another Raspberry and serving NMEA from that.

Additional context None.

ktuulos avatar Feb 24 '22 10:02 ktuulos

Hi! NMEA output on a base station ? What you want looks like a Rover, not a Base. Or I don't understand how you want to use RTKBase.

Stefal avatar Feb 24 '22 21:02 Stefal

NMEA is needed to certain applications, which e.g. track visible satellites by parsing NMEA feed. It is much easier to parse, than binary format.

ktuulos avatar Feb 25 '22 06:02 ktuulos

Ok! There are at least 2 ways to do this:

  1. Customize RTKBase:

  • Edit https://github.com/Stefal/rtkbase/blob/master/web_app/rtklib_configs/rtkbase_ppp-static_default.conf to output nmea
  • modify server.py to launch start_Base https://github.com/Stefal/rtkbase/blob/fa86a03661364d1e1fd79cd611f5f63816d61363/web_app/server.py#L499-L514
  • modify server.py to disable the start_Base timeout https://github.com/Stefal/rtkbase/blob/fa86a03661364d1e1fd79cd611f5f63816d61363/web_app/server.py#L153-L158
  1. Use existing tools as:

  • gpsdecode from gpsd. This tool can parse a RTCM stream
  • run rtkrcv from another computer connected to the tcp ubx stream

BTW: I'd like to have a sky view inside the status page. See #100

Stefal avatar Feb 25 '22 06:02 Stefal