crasbe wrote: ↑Tue Nov 22, 2022 12:11 pm
The idea back then was that you create a deadzone by setting potmin to a higher value than it is at absolute minimum.
However the problem is that it makes detecting a faulty throttle pedal really hard. Therefore I changed the behavior to the opposite. So if it potval is ever outside of it's specified range, an error will be thrown.
Excellent - it's exactly what I suggested here: https://openinverter.org/forum/viewtopi ... 050#p33050
Therefore you don't make the range smaller but a bit larger than it actually is. To accomodate the deadzone, I have added a separate throtdead parameter to create a deadzone at the beginning of the throttle range. It is set to 10% (which is really high), but can be tuned down. It has to exist because there always might be some noise present.
This probably needs to be documented somewhere separately (wiki), but I'm currently at work.
I'll change it on the wiki, I wrote those instructions based on how it used to work.
To your IDCmax problem: I didn't look into that yet so it's pretty much expected that your problem is still present with the recent changes.
I'll have to look into it separately.
I don't have the .hex file of 1.08A on my laptop unfortunately, so I can't access it right now.
That's why I was asking when Damien announced it, I wasn't sure if it was this bug that was found or a different one.
Anyway good, if it's not supposed to be fixed, that's the reason, don't worry about the .hex file