Giter Club home page Giter Club logo

Comments (25)

saabnut avatar saabnut commented on August 20, 2024

from stratux.

b3nn0 avatar b3nn0 commented on August 20, 2024

The only real change regarding UBlox 8 in v029 was, that it now uses GPS+Galileo+Beidou instead of GPS+Galileo+GLONASS.

If you are able, you might want to try to compile Stratux yourself, and undo this commit for testing?
b3nn0@3c87208
Maybe GLONASS works much better in the US than Beidou?

from stratux.

VirusPilot avatar VirusPilot commented on August 20, 2024

Can someone who has this issue provide a screenshot of the GPS page so that we can see what is happening?

from stratux.

CharAznableLoNZ avatar CharAznableLoNZ commented on August 20, 2024

I'm not sure if this is the page you're talking about but here is a screenshot of it tracking five satellites with no fix. It does seem to drop off to one satellite often. The unit is attached to the window of my house that has a great view of the western sky with nothing in the way beyond a tree here and there. It has the same behavior in the plane as well.
While typing this I saw it surge up to eleven satellites tracked then settle back down to four tracked.
Screenshot 2024-03-20 150551
Update; as it has sat running it is averaging at least seven satellites and often sites around ten satellites seen and tracked. All with no fix.

from stratux.

VirusPilot avatar VirusPilot commented on August 20, 2024

This is the right page but with a u-blox 8 you should see 20+ satellites with signal level above 30dB. Here is an example from my Stratux under the roof, have you ever achieved something like that?
Bildschirmfoto 2024-03-21 um 15 19 29

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

With GLONASS disabled and BeiDou enabled, I've never seen a single resolved and fixed BeiDou satellite, and the best I've seen for the other satellites is maybe 5 or 6 in solution. I disabled BeiDou and enabled GLONASS in gps.go and I get a minimum of 8 in solution. Not sure if geographic location is pertinent, but I'm in central Texas. Using a pi 3B+ with an "internal" ublox 8 (directly plugged into a pi USB port.)
GPS

from stratux.

VirusPilot avatar VirusPilot commented on August 20, 2024

Ok weird. The signal levels are not the best, is it a GPYes above the SDRs? Could you open the window and leave the Stratux for 15-30min outside, for both configurations and then send screenshots?

from stratux.

CharAznableLoNZ avatar CharAznableLoNZ commented on August 20, 2024

Mine has never achieved a fix inside if not attached to a window. This screenshot is the unit sitting outside on a table facing the same direction as the previous tests.
It has failed 2/3 times to get a fix from inside the plane, my main concern, the only thing between it and the outside world is a thin piece of plastic window. I'm in the Seattle area outside the city.

Screenshot 2024-03-21 144446

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

Mine is indoors and the ublox8 is in an upper USB receptacle above the 2 SDR's. Im just curious, where are you (Virus Pilot) located?

from stratux.

VirusPilot avatar VirusPilot commented on August 20, 2024

I am located in the middle of Germany. Did you have significantly more satellites before migrating to v029? Would you never get more than ~10 satellites with v029? I did some measurements a few years ago and it turned out that with this particular setup of your GPS just above the SDRs you are loosing up to 10dB GPS signal. This is why I am recommending an external GPS in my shopping list: https://github.com/VirusPilot/stratux-pi4/wiki/Shopping-List-v3. Do you by chance have a USB extension cable so that you can move your GPYes away from the SDRs just for testing?

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

I do have an external GPS, I will plug that in and let you know. I have been purposely running in a "adversely difficult environment" just to see what absolute minimums can be while still giving me a good position fix.

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

OK, this is with a NEO M8U w/external antenna. It resolved 15 satellites almost immediately and signal strength is much better. This is still inside my house, I expect it would be even better outside. I'm going to recompile with BeiDou enabled and GLONASS disabled to see what that looks like...
GPS2

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

And this is that exact same setup as mentioned, NEO M8U, nothing moved. Recompiled with BeiDou enabled, GLONASS disabled. A LOT different!! Going back to BeiDou disabled, GLONASS enabled.
GPS3

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

And finally, returning to BeiDou disabled and GLONASS enabled... big difference.
GPS4

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

VirusPilot - I've never had issues with any of B3NNO's versions - to me they have been nothing but positive for Stratux. I just happened to notice after this thread started that I was only getting around 8 resolved satellites with v29. I think the change of disabling GLONASS may be not give the best results for the USA, or at least where I am located. It might make sense for BeiDou or GLONASS to be a configuration option...

from stratux.

VirusPilot avatar VirusPilot commented on August 20, 2024

Alright, this is very helpful so we may revert back to GLONASS then.

from stratux.

VirusPilot avatar VirusPilot commented on August 20, 2024

If you by chance can do one more test, I would appreciate it. In gps.go the following change would be required:
GPS min 8, max 16 sats
GAL min 4, max 8 sats
BDS min 4, max 8 sats
It requires the following lines changed, starting with: https://github.com/VirusPilot/stratux/blob/de992daa057a1f7eb2793762493f066fb0bd5a14/main/gps.go#L517
to
galileo := []byte{0x02, 0x04, 0x08, 0x00, 0x01, 0x00, 0x01, 0x01}
beidou := []byte{0x03, 0x04, 0x08, 0x00, 0x01, 0x00, 0x01, 0x01}

Please leave the GPS running for 15min after the first fix so that the entire almanac can be received.

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

I went ahead and added an option for using GLONASS, just for my own education. I will do the changes suggested by VirusPilot re-test, and let you know...
GlonassOption

from stratux.

VirusPilot avatar VirusPilot commented on August 20, 2024

Cool, feel free to submit a pull request accordingly.

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

Here you go. bytes adjusted as requested, running for 25 minutes
GPSAlteredChannels

from stratux.

VirusPilot avatar VirusPilot commented on August 20, 2024

aha, now we are talking. Btw, if your GPS is a USB ublox M8 then I wonder why you only arrive at 2.1Hz update rate - our setting for the M8 is 10Hz like in my screenshot above.

from stratux.

b3nn0 avatar b3nn0 commented on August 20, 2024

I have now reverted to GLONASS instead of Beidou for the next version, as I was able to reproduce this more or less.
A web interface setting seems overkill to me. People tend to configure all kind of random stuff that they don't know about.. I have seen far too many completely miss-configured Stratuxes.
I'd rather find a default that works well for everybody, and I think in this case GLONASS is that default.

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

As a further test, this looks much like the originally posted issue. This is using an older GPYes/ublox7 usb, running so far for 1/2 hour.
GPYesUblox7

from stratux.

VirusPilot avatar VirusPilot commented on August 20, 2024

this is unrelated to any configuration, it is just poor GPS level

from stratux.

N129BZ avatar N129BZ commented on August 20, 2024

Yes, after plugging the ublox7 into a usb extension cable and putting it on a window sill I'm getting a minimum of 10 resolutions + SBAS.

from stratux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.