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 Add: Set ADSB Antenna Gain #273 #275

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

stefanux2
Copy link

PR with the following features:

  • Visible only on DeveloperMode
  • Default to 37.2
  • Combo with supported gain values from RTL

Copy link
Owner

@b3nn0 b3nn0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest looks fine to me

@@ -1187,6 +1187,7 @@ type settings struct {
SensorQuaternion [4]float64 // Quaternion mapping from sensor frame to aircraft frame
C, D [3]float64 // IMU Accel, Gyro zero bias
PPM int
Gain float64
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mind giving this a bit more descriptive name? There are a lot of gain values in Stratux.. a reader would not know which one this controls. Maybe Dump1090Gain or something.

@b3nn0 b3nn0 merged commit 73c1bce into b3nn0:master Apr 1, 2024
@b3nn0
Copy link
Owner

b3nn0 commented Apr 2, 2024

Should've tested it and not just read the code ;-)
Had to add a bit of code to make the selector actually display the current value correctly, and also added actual restarting of the dump1090 process on change.

@xiaprojects xiaprojects deleted the Antenna_Gain branch April 2, 2024 08:05
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

Successfully merging this pull request may close these issues.

3 participants