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

Mi-24P: Values out of range #386

Open
charliefoxtwo opened this issue Oct 8, 2023 · 0 comments
Open

Mi-24P: Values out of range #386

charliefoxtwo opened this issue Oct 8, 2023 · 0 comments

Comments

@charliefoxtwo
Copy link
Member

charliefoxtwo commented Oct 8, 2023

Mi-24P values

Util.lua: value -1.000000 is too small for Mi-24P:PLT_ALT_SHUTTER (address 26768 mask 65535)
Util.lua: value -1.000000 is too small for Mi-24P:OP_ALT_SHUTTER (address 26780 mask 65535)

Changing the min value to 1 seems to resolve the issue, but it's unclear why. The dcs luas would indicate the range should {0.822, 0.75}, which is what is currently used in the module. The smallest value that I was able to get when setting min to 1 is 46660, indicating the max may be too large as well.

Mi_24P:defineFloat("PLT_ALT_SHUTTER", 916, { 1, 0.75 }, "Barometric Altimeter Gauges", "PILOT Baro Pressure Shutter Gauge")

All that said, I'm not even clear what this shutter control is? I don't see anything that moves relative to the value change for this control, so I'm not clear what the best course of action is here.

DCS-BIOS.log

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

No branches or pull requests

2 participants