Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.
/ readsb Public archive

more CPR logic improvements #20

Merged
merged 3 commits into from
Oct 20, 2019
Merged

more CPR logic improvements #20

merged 3 commits into from
Oct 20, 2019

Conversation

wiedehopf
Copy link
Contributor

So this should be a good model for dealing with bad CPRs.

Also make the speed check more reliable by using the correct position_valid.update time when doing global CPR.

And add some stats that were never fully implemented.

These are actually relatively rare if your receiver is good.
If the first global CPR for an aircraft gives a bogus position,
make sure a contradicting global CPR will stop aircraft relative CPR
decoding.
Using combine_validity which uses the older cpr_valid.update time to
determine the position_valid.update time is wrong, as the update time of
the position is the reception time of the current CPR.
The position_valid.update time is also used for the speed check which
relies on the actual time of the position.
@Mictronics Mictronics merged commit 4f79f1a into Mictronics:master Oct 20, 2019
@wiedehopf
Copy link
Contributor Author

Would you prefer pull requests against the dev branch or the master branch?

@Mictronics
Copy link
Owner

dev branch is preferred since it gets combined with all other changes and then on release goes into master.

@wiedehopf
Copy link
Contributor Author

I might have some more CPR stuff which kinda goes on top of what i already submitted.

Maybe i should just make a PR for dev with the commits i already did and then the new stuff on top.
Or would that then be a problem when you merge?

Anyway i'm doing some local testing before i will make another PR :)

@Mictronics
Copy link
Owner

Merging shouldn't be a problem. I can solve conflicts manually in any case.

@wiedehopf wiedehopf deleted the cpr_fix branch April 13, 2020 15:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants