dump1090_rs icon indicating copy to clipboard operation
dump1090_rs copied to clipboard

It seems short messages are not decoded

Open gariac opened this issue 1 year ago • 5 comments
trafficstars

I put this in the "discussion" section but on second thought maybe I should bring this up as an issue. The Rust version decodes less messages than the "normal" dump1090 (if such a thing exists). It documented this in my comparison write up: Comparing rust version of dump1090 The traditional dump1090 decodes shorter messages.

Is anything useful not being decoded?

I find the rust version gets more position data which is the objective after all.

gariac avatar Mar 22 '24 05:03 gariac

I'm getting a code 403 on that link.

wcampbell0x2a avatar Mar 22 '24 11:03 wcampbell0x2a

I'm getting a code 403 on that link.

Well I copied a list of bad referrers for my website and github.com was on it. This is where uttering "Doh!" is appropriate.

Could you try again. I hope this isn't going to be a browser cache issue.

I attached all the images from the page.

vrs3 vrs2 messages cpu

gariac avatar Mar 26 '24 07:03 gariac

I'm getting a code 403 on that link.

The output from dump1090_rs are in the right hand panels.

gariac avatar Mar 26 '24 07:03 gariac

Interesting! This rust version does decode short frames, you can read the number on the Stats display. Just, way way less.

Interesting tool however, I'll have to play around with throughput and CPU usage.

wcampbell0x2a avatar Mar 26 '24 11:03 wcampbell0x2a

Interesting! This rust version does decode short frames, you can read the number on the Stats display. Just, way way less.

Interesting tool however, I'll have to play around with throughput and CPU usage.

Well two terminals side by side are just raw dumps. What could I have possibly done to build the code in a manner where it doesn't do short decodes? I will admit building Rust is quite foreign to me.

I just do a git clone and the link. Is there some secret sauce I need for git?

The webpage link is fixed. (Actually nginx map fixed.) I did include the version of the program and cargo data. I posted it below for convenience.

` The program is under development. This is a test of rev 0.7.

This is the installed version of cargo on Opensuse: cargo -V cargo 1.76.0

`

gariac avatar Mar 27 '24 05:03 gariac

Pushed a WIP MR that should fix this issue: https://github.com/rsadsb/dump1090_rs/pull/130

wcampbell0x2a avatar Aug 31 '24 05:08 wcampbell0x2a

I'm not a programmer. Was I supposed to do something special or just build the code. I'm still not seeing any short messages. I haven't run VRS to collect stats but it is pretty obvious all the messages are the same length.

gariac avatar Aug 31 '24 16:08 gariac

Just build the code from that branch, you should get SHORT and LONG messages in the output.

Here is an already built version: https://wcampbell.dev/public/bins/dump1090_rs

wcampbell0x2a avatar Aug 31 '24 17:08 wcampbell0x2a

Your binary works. However I would like to know how to compile the code.

gariac avatar Aug 31 '24 17:08 gariac

  1. Install rust
  2. Install soapysdr-dev, for example on ubuntu: apt install libsoapysdr-dev
  3. after cloning this repo, cargo build --release

wcampbell0x2a avatar Sep 02 '24 20:09 wcampbell0x2a

Released fix in https://github.com/rsadsb/dump1090_rs/releases/tag/v0.8.0

wcampbell0x2a avatar Sep 02 '24 22:09 wcampbell0x2a