wiedehopf / tar1090

Provides an improved webinterface for use with ADS-B decoders readsb / dump1090-fa
Other
1.29k stars 240 forks source link

Filter out "planes" with 1 or few messages #37

Closed giacomo892 closed 4 years ago

giacomo892 commented 4 years ago

I cannot find a way to do not show planes that has 1 message received at most. They are likely to be just receiver errors. Like this: image The name starts with _ too.

wiedehopf commented 4 years ago

That shouldn't be shown with a proper decoder like dump1090-fa or readsb. It's sometimes important to show everything the decoder will putin the json.

giacomo892 commented 4 years ago

Hi, thanks for your reply. I am using readsb right now

wiedehopf commented 4 years ago

Which version are you using? I've just changed it for my dev branch, but generally that branch .... well does what i want it to do. Don't expect that branch to be reasonable ;)

giacomo892 commented 4 years ago

I'm using readsb 3.8.1 and tar1090 installed yesterday

viewadsb doesn't show those "planes"

wiedehopf commented 4 years ago

Could you elaborate on which readsb you installed exactly?

giacomo892 commented 4 years ago

https://github.com/Mictronics/readsb

wiedehopf commented 4 years ago

3.8.3 isn't the current version.

Anyhow, aircraft with only one message shouldn't be in the json.

            if (a->messages < 2) { // basic filter for bad decodes
                continue;
            }

Are you sure you aren't using a strange branch or sth ...

wiedehopf commented 4 years ago

correction, 3.8.1 isn't the current version 3.8.3 is. But that's besides the point, i don't think this code was ever different.

giacomo892 commented 4 years ago

I've just upgraded, idk why I was running 3.8.1 Will report. thanks!

giacomo892 commented 4 years ago

Fine now, thanks!

wiedehopf commented 4 years ago

just out of curiosity, let's check the output for this command:

readsb --version

giacomo892 commented 4 years ago

readsb --version Mictronics v3.8.3

giacomo892 commented 4 years ago

Should I run your fork?

wiedehopf commented 4 years ago

No you shouldn't.

Just puzzled how that 1 message plane made it into there.

giacomo892 commented 4 years ago

:)

giacomo892 commented 4 years ago

Continuing here so you already know my setup. I've a strage issue. I've cleaned the cache and everything... On Chrome I cannot see MLAT traffic, it just shows are Mode S on the very same chrome, but incognito mode, it shows in yellow and as MLAT with position.

Any clue?

thanks

wiedehopf commented 4 years ago

Shift-N

giacomo892 commented 4 years ago

Will try as soon I have traffic :D Thanks