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

Tune SOC for real-world dash values #10

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

electricsidecar-dev
Copy link
Contributor

@electricsidecar-dev electricsidecar-dev commented Jul 17, 2024

Based on the following real-world reported dash values:

   hex    dec                scaled
0E7E89 -> 949,897 / 10,000 = 94.9897 (raw), dash reports 97, ratio = 0.9793
096F99 -> 618,393 / 10,000 = 61.8393 (raw), dash reports 59, ratio = 1.0481
066BFC -> 420,860 / 10,000 = 42.086 (raw),  dash reports 34, ratio = 1.2378
05E344 -> 385,860 / 10,000 = 38.586 (raw),  dash reports 30, ratio = 1.2862
04C635 -> 312,885 / 10,000 = 31.2885 (raw), dash reports 21, ratio = 1.4899

Grapher visualization:

Screenshot 2024-07-16 at 10 14 54 PM

Based on the following real-world reported dash values:

```
   hex    dec                scaled
0E7E89 -> 949,897 / 10,000 = 94.9897 (raw), dash reports 97, ratio = 0.9793
096F99 -> 618,393 / 10,000 = 61.8393 (raw), dash reports 59, ratio = 1.0481
066BFC -> 420,860 / 10,000 = 42.086 (raw),  dash reports 34, ratio = 1.2378
05E344 -> 385,860 / 10,000 = 38.586 (raw),  dash reports 30, ratio = 1.2862
04C635 -> 312,885 / 10,000 = 31.2885 (raw), dash reports 21, ratio = 1.4899
```
@electricsidecar-dev electricsidecar-dev merged commit 1423ef5 into main Jul 17, 2024
2 checks passed
@electricsidecar-dev electricsidecar-dev deleted the electricsidecar-dev-patch-1 branch July 17, 2024 02:16
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.

1 participant