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

ADF Beacon Refresh #82

Open
DWAC-GakkSimian opened this issue Nov 10, 2022 · 5 comments
Open

ADF Beacon Refresh #82

DWAC-GakkSimian opened this issue Nov 10, 2022 · 5 comments
Labels

Comments

@DWAC-GakkSimian
Copy link

Not sure if DCS changed in 2.7 or 2.8. I vaguely recall the ADF needle pointing consistently.
Now it only points when the beacon.ogg file is running.

The issue is that the hard-coded refresh cycle in ctld.refreshRadioBeacons() was 30 seconds and beacon.ogg runs for 31 seconds. So an odd sync issue happened for me.

I added a global var ctld.beaconRefreshPeriod = 65 to allow the refresh to wait till the longest ogg file (beaconsilent.ogg) completed and use that in the function. Now the ADF needle deflects for the ogg run period and waits till refresh to run again. Seems to be usable.

@davidp57
Copy link
Collaborator

What are you asking for in this issue?

@davidp57
Copy link
Collaborator

davidp57 commented Dec 6, 2024

@DWAC-GakkSimian can you answer the question please? Else I'm going to delete the issue...

@DWAC-GakkSimian
Copy link
Author

I'm rather surprised that nobody has verified or refuted this claim. That the ODB's get very quirky.

My fix is to ensure that the play length of the beacon.ogg file is shorter than the expected transmit time. I merely mentioned it here as a possible thing to fix for future releases. Feel free to drop this if you wish.

@davidp57
Copy link
Collaborator

Thanks for your answer @DWAC-GakkSimian; so, if I understand correctly, the fix needed is to add a specific delay to the ADF beacon loop that is greater that the beacon sound file length?

@DWAC-GakkSimian
Copy link
Author

Yes, or comments explaining. IOW, when the beacon.ogg is running, there is a needle deflection. The delay should be configurable up front (in script) with an explanation that the number exceed the play-time of the ogg file. Hope I'm being clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants