KSU-MS / KS6e-VCU-firmware

CURRENT KS6E VCU code
1 stars 0 forks source link

ignore button if stuck longer than specified timeout period? #29

Open mathbrook opened 7 months ago

mathbrook commented 7 months ago

stuck buttons are bad. would cause instant rtd on brake press, torque mode constantly changing, etc. normally you’d ignore a button if it’s stuck for like 10s or whatever you decide is longer than anyone would hold it. would we rather ignore a stuck button and potentially lose the ability to RTD or just cope with it and still be able to RTD? can we ignore it for everything except RTD, and just add a way to handle the stuck button case for entering RTD, then ignore it for all other things - regen, torque toggle, launch control