wiedehopf / adsb-scripts

Solutions to common problems for rtl_sdr / ADS-B stuff
MIT License
291 stars 36 forks source link

Question related to the autogain settings #31

Closed matrixxus closed 1 year ago

matrixxus commented 1 year ago

Hello, and sorry for posting this in the issues section, as it's not an error but a question.

It is about: https://github.com/wiedehopf/adsb-scripts/wiki/Automatic-gain-optimization-for-readsb-and-dump1090-fa Thanks for publishing it, works great. My only question is: running your script on a PiAware installation, should I disable the Piaware built-in autogain setting?

RECEIVER_GAIN=43.9
ADAPTIVE_DYNAMIC_RANGE=yes
ADAPTIVE_DYNAMIC_RANGE_TARGET=
ADAPTIVE_BURST=no
ADAPTIVE_MIN_GAIN=
ADAPTIVE_MAX_GAIN=

from the file: /etc/default/dump1090-fa Wondering if this should be changed somehow.

wiedehopf commented 1 year ago

It doesn't work if you install dump1090-fa standalone (without the piaware image).

If you want this autogain, just use my readsb: https://github.com/wiedehopf/adsb-scripts/wiki/Automatic-installation-for-readsb

matrixxus commented 1 year ago

Thank you very much for the reply. I am on the piaware system image. What I was trying to understand was, if when using your 'autogain-install.sh' script, should the built-in piaware auto-gain option be disabled or enabled. Or doesn't matter at all?

wiedehopf commented 1 year ago

No clue how that interacts, in doubt switch it off. Either script based autogain or their builtin autogain.

matrixxus commented 1 year ago

Understood, keeping your autogain only, thank you very much for the explanation.