anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: How To Manually Set Gain of dump1090-rb  (Read 1489 times)

0 Members and 1 Guest are viewing this topic.

abcd567

  • Hero Member
  • *****
  • Posts: 844
  • CYYZ - Toronto
How To Manually Set Gain of dump1090-rb
« on: February 11, 2024, 04:04:18 PM »
By default the dump1090-rb is set to adaptive-gain (i.e. dump1090-rb automatically changes gain value according to current signal strength).

The file /etc/rbfeeder.ini does not have any provision to change gain setting of dump1090-rb from adaptive-gain to gain value desired by the user.

Today by trial-and-error, I succede in unearthing 3 undocumented parameters, which can be used to manually set gain to a value of user's choice, and manually disable adaptive gain parameters.

Following is the method to do it:

(1) Open file rbfeeder.ini to edit
Code: [Select]

sudo nano /etc/rbfeeder.ini   


(2) In the file opened, add following 3 lines in [client] section of file /etc/rbfeeder.ini
IMPORTANT NOTE: Replace 28.0 by your desired value of gain (any value between 0 and 60)

dump_gain=28.0
dump_adaptive_range=false
dump_adaptive_burst=false

Please see screenshot attached below

(3) Save and close file

(4) Restart rbfeeder
Code: [Select]

sudo systemctl restart rbfeeder   



(5) Check status
Code: [Select]

sudo systemctl status rbfeeder | sed 's/ / /'   


(6) In output of above command, look at this portion of output:

     CGroup: /system.slice/rbfeeder.service
             ├─105976 /usr/bin/rbfeeder
             ├─105985 /usr/bin/python3 /usr/bin/mlat-client --input-type dump1090 --input-connect 127.0.0.1:32457 --server mlat1.rb24.com:40900 --lat 43.580000 --lon -79.620000 --alt 155 --user EXTRPI000036 --results beast,connect,127.0.0.1:32004
             └─105986 /usr/bin/dump1090-rb --write-json /dev/shm/ --net --quiet --mlat --forward-mlat --net-bo-port 30105 --lat 43.580000 --lon -79.620000 --gain 28.00 --modeac --fix --gnss



.
« Last Edit: February 11, 2024, 07:15:05 PM by abcd567 »

abcd567

  • Hero Member
  • *****
  • Posts: 844
  • CYYZ - Toronto
Re: How To Manually Set Gain of dump1090-rb
« Reply #1 on: March 02, 2024, 05:00:47 PM »
Has anyone tried the method to set gain manually given in first post of this thread? Waiting for feed-backs.