cyoung / stratux

Aviation weather and traffic receiver based on RTL-SDR.
BSD 3-Clause "New" or "Revised" License
1.07k stars 365 forks source link

Should serial connected GPS modules be supported? #772

Open Helno opened 5 years ago

Helno commented 5 years ago
  1. Stratux version: 1.5b2

  2. Stratux config: Pi 3b

    SDR

    • [x] single
    • [ ] dual

    GPS

    • [ ] yes
    • [x] no

    AHRS

    • [ ] yes
    • [x] no
  3. Description of your issue: With a fresh setup Stratux.log appears to be filling up as it attempts to configure the GPS.

With no GPS connected it is running as though it has a serial connected GPS and fails repeatedly to apply the GPS configuration.

We have a wide variety of USB GPS modules supported and I don't recall anyone using serial GPS modules lately. Just seems like it causes unnecessary writes to the log file and the odds of it being useful to anyone is limited.

stratux.log

JohnOCFII commented 5 years ago

I still have one working Stratux using the GPIO connected GPS RY835AI. But it is running old code, and maybe will just stay that way.

Helno commented 5 years ago

I don't think there are many out there that wouldn't get by just fine with an older version of the software.

cyoung commented 5 years ago

I've moved this log write to DEBUG only:

UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.

Related: #482.

saabnut commented 5 years ago

Personally I would prefer it if Stratux simply harvested "ownship" broadcast from my ADS-B out transmission on 978 mhz. The data is FAA Certified WAAS with an external Certified antenna. This would eliminate ownship ghosting, and when the no GPS flag popped up, I would know that my 978mhz data was not current.

Helno commented 5 years ago

Personally I would prefer it if Stratux simply harvested "ownship" broadcast from my ADS-B out transmission on 978 mhz. The data is FAA Certified WAAS with an external Certified antenna. This would eliminate ownship ghosting, and when the no GPS flag popped up, I would know that my 978mhz data was not current.

That sounds like a great idea but comes with a bunch of limitations. Not everyone has ADS-B OUT. Your ADS-B OUT might be fancy and certified but it will not have the same refresh rate as a GPS connected directly to Stratux.

It also wont fix this particular issue as it is just a case of Stratux thinking something is wrong and generating needless log file entries.

saabnut commented 5 years ago

My ADS-B out is not fancy, just certified. (GDL-82) This would eliminate or at least backup the UBlox device, which is for sure not SIL3.

The refresh rate at ~ once per second is not that bad. The data presented would match the data presented to other aircraft.

It would give me an easy way to see if there is an discrepancy between the altimeter and encoder. That alone makes it worth doing.

Operating without ADS-B out for those who do not have it, comes with a bunch of limitations,

On 6/19/2019 5:28 PM, Helno wrote:

Personally I would prefer it if Stratux simply harvested "ownship"
broadcast from my ADS-B out transmission on 978 mhz. The data is
FAA Certified WAAS with an external Certified antenna. This would
eliminate ownship ghosting, and when the no GPS flag popped up, I
would know that my 978mhz data was not current.

That sounds like a great idea but comes with a bunch of limitations. Not everyone has ADS-B OUT. Your ADS-B OUT might be fancy and certified but it will not have the same refresh rate as a GPS connected directly to Stratux.

It also wont fix this particular issue as it is just a case of Stratux thinking something is wrong and generating needless log file entries.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cyoung/stratux/issues/772?email_source=notifications&email_token=AHAT66CUWRCSU5XZFNXZGBDP3KQJLA5CNFSM4HFXHL2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDKXCQ#issuecomment-503753610, or mute the thread https://github.com/notifications/unsubscribe-auth/AHAT66FSWNPUDVIHMUYLGG3P3KQJLANCNFSM4HFXHL2A.

Helno commented 5 years ago

The refresh rate at ~ once per second is not that bad.

The uBlox 8 we use refreshes at 10 hz. That is significant if you want to use it for AHRS. In this use case refresh rate is more important than an extremely precise position.

Stratux already picks up your ADS-B out for ownship position when it detects it.

saabnut commented 5 years ago

I understand completely, but this is about traffic for me. If stratus was ready for rs 232 in, i would use my non waas c129a1 output to feed it. Garmin/apollo 9600 baud nmea mapcom data is coming from that gps. 5hz update, built in integrity warning RAIM. But again, the ads-b out unit is more accurate. For ahrs, i would want pitot static data input and we are not there yet. I would just as soon have a different stratux for that function, securely mounted to the floor.

On Wed, Jun 19, 2019, 6:11 PM Helno notifications@github.com wrote:

The refresh rate at ~ once per second is not that bad.

The uBlox 8 we use refreshes at 10 hz. That is significant if you want to use it for AHRS. In this use case refresh rate is more important than an extremely precise position.

Stratux already picks up your ADS-B out for ownship position when it detects it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cyoung/stratux/issues/772?email_source=notifications&email_token=AHAT66FDBCCFJYQB2JG4TXTP3KVJFA5CNFSM4HFXHL2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDNUVY#issuecomment-503765591, or mute the thread https://github.com/notifications/unsubscribe-auth/AHAT66HCLFOHKA3CWCQXNJDP3KVJFANCNFSM4HFXHL2A .

PepperJo commented 5 years ago

Operating without ADS-B out for those who do not have it, comes with a bunch of limitations,

Don't forget about people in Europe. ADS-B out is not mandatory here (and there is no deadline defined yet when it will be), so most GA airplanes only have Mode-S. Additionally, I rather have another independent system, e.g. when I loose power in my airplane.

saabnut commented 5 years ago

I would never forget about Europeans, my ancestors. I have not been flying in small planes in Europe, but if I was operating there I would have a FLARM system, as well.

Without a ground station, how does a 1090 mode-s aircraft show up on stratux? There is no extended squitter data to show direction and velocity. Only altitude, squawk and ID.

We had passive systems that used transponder signal strength to calculate range, and antenna arrays to indentify relative position.

On 6/20/2019 3:21 AM, Jonas Pfefferle wrote:

Operating without ADS-B out for those who do not have it, comes with a
bunch of limitations,

Don't forget about people in Europe. ADS-B out is not mandatory here (and there is no deadline defined yet when it will be), so most GA airplanes only have Mode-S. Additionally, I rather have another independent system, e.g. when I loose power in my airplane.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cyoung/stratux/issues/772?email_source=notifications&email_token=AHAT66FJ6E3OOYFPHBYFDKLP3MVWRA5CNFSM4HFXHL2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYEQVGY#issuecomment-503909019, or mute the thread https://github.com/notifications/unsubscribe-auth/AHAT66HAPD2G7FGJ5FZ3PNLP3MVWRANCNFSM4HFXHL2A.

PepperJo commented 5 years ago

Correct mode-S traffic does not show up. You can only get proximity warnings but I don't think they are very useful. uAvionix tried to implement the "passive system" in their SkyEcho but they deemed it to be too unreliable to be useful.

FLARM, yes, and we even have Stratux FLARM support however there are still a lot of people here flying without FLARM since it is not mandatory. Ontop of that FLARM has its own shortcomings that make it not a good fit for powered resp. faster airplanes (e.g. range).

gettyhub commented 3 years ago

I have a gps that connects through a usb serial interface (all in one, not separate gps and serial), and it comes through /dev/ttyUSBx. I just symlink it to /dev/prolific0 and it works just fine in NMEA mode.