-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnhealthyEph and UnhealthySat, breaking change! #27
Comments
Hello, I'm a navigation student and I'm trying to use the Java version of goGPS to process my GPS readings. |
Hi @MartaBanach sorry about that, it's likely to be because of this change, and thank you for spotting it. |
I've modified a bit of the library, but the NPEs are still an issue. There might be some before this one.
and these are the files |
Hello @MartaBanach Thank you for sending that, I've created a unit test and addressed the null pointer exception (4b98f1b). Also, I've managed to create an output from your rover file by (1) setting the elevation cutoff to 0, (2) using the Rinex file from NASA and running goGPS in either code or code&phase standalone mode: Also, it's necessary to wait at the end of the procedure for all threads to finish: 9ae37f6 Not sure why the CodePhaseDoubleDifference mode is failing, maybe @ege010 can suggest an idea. Hope that helps |
Hi @MartaBanach
Eugenio |
Thank you very, very much. It worked! |
Great! Let us know if you need further help, or if you get "strange" results... the code is continuously evolving, so it might have glitches here and there. Cheers! |
I've started merging a lot of my changes so please bear with me.
A problem I had was that when a satellite is marked as unhealthy, its ephemeris was returned as null, the same if the ephemeris wasn't simply available.
To mark a satellite as unhealthy, I've created two singletons: one for the ephemeris and one for the satellite, so instead of returning null, I return that singleton. See these changes:
0213dd2
2c142cb
That certainly requires some changes in the rest of the code, so please check and see what you think.
Example usage in satelectSatellitesStandalone
Here I know why the returned pos was null, because a satellite was marked unhealthy, vs Ephmeris not found. We could similarly create a singleton to mark EphNotFound, I'm just trying to move away from simply returning null.
Throwing an exception could be another option but I'm not a big fan
The text was updated successfully, but these errors were encountered: