Skip to content
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

[feature request] Allow selection of starting gain in autogain #38

Closed
andreagdipaolo opened this issue Oct 24, 2023 · 2 comments
Closed

Comments

@andreagdipaolo
Copy link

I believe it could be useful to let the user select a starting gain in autogain.
In my current setup if I use autogain the system defaults at 49.6 and signals are so strong that they are detected as noise and I get something like 0,1% of what I would get with optimal gain.
I figured that the best gain for me is about 12-18.
I would still like to have autogain active in order to adjust for the environment etc etc, but that would be useful only if I could start at around 15 in order to get signals and make it work.

@mclueppers
Copy link

This is already possible via environment variables.

Set in your .env file:

READSB_GAIN=autogain
READSB_AUTOGAIN_INITIAL_GAIN=15

and restart the container

@andreagdipaolo
Copy link
Author

Thanks, I had already solved that.
There is no reference about that string in the readme.
Anyway the script didn't work properly and @kx1t fixed it.
Thanks!

@kx1t kx1t closed this as completed Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants