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

Add readonly and read/write radio controls #397

Merged

Conversation

charliefoxtwo
Copy link
Member

@charliefoxtwo charliefoxtwo commented Oct 11, 2023

This adds a new input type for setting radio frequencies as well.

Still experimenting with integrating this into Bort, and this breaks some of my existing tools (ViLA and TouchDCS) because of the unexpected change to the documentation (my fault, should have coded more defensively).

I haven't tested what happens if the aircraft doesn't support setting the frequency.
If the radio is configured to use presets, setting frequency will attempt to use a preset if one exists and if not will automatically switch it to manual mode and set the frequency.

That said, this is pretty cool. The output here is pulled from get_frequency()
electron_HWTiIpBNOc

@charliefoxtwo charliefoxtwo marked this pull request as ready for review October 11, 2023 06:23
@jdahlblom jdahlblom added this pull request to the merge queue Oct 11, 2023
Merged via the queue into DCS-Skunkworks:master with commit 334204c Oct 11, 2023
2 checks passed
@charliefoxtwo charliefoxtwo deleted the feature/read-write-radio branch October 11, 2023 06:25
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.

2 participants