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

[BUG] M-2000C some values out of range #678

Closed
charliefoxtwo opened this issue Jun 1, 2024 · 1 comment · Fixed by #714
Closed

[BUG] M-2000C some values out of range #678

charliefoxtwo opened this issue Jun 1, 2024 · 1 comment · Fixed by #714
Labels
bug A bug affecting dcs-bios help wanted

Comments

@charliefoxtwo
Copy link
Member

These controls should be investigated as it appears they're well out of range.

2024-06-01 08:57:17  ERROR  MemoryAllocation.lua: value 67653.000000 (originally 67653.866106) is larger than max 65535 for M-2000C:N_RPM (address 29264 mask 65535)
2024-06-01 08:57:17  ERROR  MemoryAllocation.lua: value -22977.000000 (originally -22976.957988) is too small for M-2000C:PSV_EL_G_EXT (address 29350 mask 65535)
2024-06-01 08:57:17  ERROR  MemoryAllocation.lua: value -26619.000000 (originally -26618.951243) is too small for M-2000C:PSV_EL_G_INT (address 29352 mask 65535)
2024-06-01 08:57:17  ERROR  MemoryAllocation.lua: value -27154.000000 (originally -27153.898158) is too small for M-2000C:PSV_EL_D_EXT (address 29356 mask 65535)
2024-06-01 08:57:17  ERROR  MemoryAllocation.lua: value -22720.000000 (originally -22719.024424) is too small for M-2000C:PSV_EL_D_INT (address 29358 mask 65535)
2024-06-01 08:57:17  ERROR  MemoryAllocation.lua: value -13108.000000 (originally -13107.001172) is too small for M-2000C:VTAC_10_DRUM (address 29518 mask 65535)
2024-06-01 08:57:17  ERROR  MemoryAllocation.lua: value -13108.000000 (originally -13107.001172) is too small for M-2000C:VTAC_1_DRUM (address 29520 mask 65535)
@charliefoxtwo charliefoxtwo added bug A bug affecting dcs-bios help wanted labels Jun 1, 2024
@charliefoxtwo
Copy link
Member Author

charliefoxtwo commented Jun 6, 2024

I'm guessing the ranges on these controls just (well, except for N_RPM, not sure what's going on there) just need their ranges adjusted from {0, 1} to {-1, 1}.

It's probably also worth taking a look at similar controls to see if they also have issues (e.g. VORILS_100_DRUM, PSV_DERIVE, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug affecting dcs-bios help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant