-
Notifications
You must be signed in to change notification settings - Fork 46
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
Frequency rounding error #249
Comments
It does not, as the frequency is usually encoded as an integer in multiple of 10Hz in the binary codeplugs. However, the yaml file gets ugly. This issue is hard to solve for now, as the frequency is actually stored as a double precision floating point number. I would need to touch a lot of code to change that to an uint64_t (in case there are frequencies above 4Ghz to be stored). However, I know that there is this issue and if I find time, I'll fix it. So, lets keep that issue open to remind me. |
Working on it in the |
Should be work now. If you like, you can test the |
Thanks, I can't test it right now, so I'll trust you that it works. :)
Hannes Matuschek ***@***.***> ezt írta (időpont: 2023. jan.
15., V, 12:31):
… Should be work now. If you like, you can test the integer-frequency
branch. This issue will be closed automatically when I merge the branch
into mast.
—
Reply to this email directly, view it on GitHub
<#249 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAY3KLVU57WPLL5NGUFJX3WSPUZFANCNFSM6AAAAAAQJ2IXC4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
* Implemented YAML parsing and encoding of integer frequencies. Addresses #249. * Fixed ChannelListWrapper to display integer frequencies in MHz. * Fixed channel dialogs. Addresses #249. * Fixed roaming channel frequencies to be stored in Hz. Addresses #249. * Fixed codeplug encoding/decoding, addresses #249. * Added some unittest. * Fixed unit tests.
* Documented changes in the APRS settings encoding. Addresses #349. * Fixed exisiting props of APRSSettings. * Merged FM and DMR APRS settings. Fixed frequency issue. Addresses #349. * Fixed APRS settings for DMR6X2UV. * Cleanup of DMR6X2UV codeplug. * Fixed crash in D878UV read. Addresses #349. * Added anytone settings extension for FM APRS systems. Addresses #249. * Implemented FM APRS frequency list and experimental storage of labels. Addresses #349. * Added some docs for FM APRS settings extension. Addresses #394. * Fixed missing encoding/decoding of report flags for Anytone APRS settings extension. * Fixed decoding of D878UV codeplugs of older DFU images.
@hmatuschek Since devel branch now uses integer frequencies (as seen in #385 ), can this considered to be solved or wait for 0.12? (Trying to reduce the number of open issues..) Ah, in #306 you said this will be closed on release? |
No, it will not close automatically. So I close it now. Will be part of the 0.12.0 release, currently in the |
Frequencies are converted to string with a small rounding error:
qdmr displays them correctly:
The issue does not seem to have any adverse effect so far, so it's only cosmetics. :)
Built from bc79685, and tested with AT878UV II.
The text was updated successfully, but these errors were encountered: