Haptic Bug - ersky9x
Posted: Wed Apr 11, 2012 3:37 pm
Hello,
I have been working through some haptic updates to introduce a longer delay to allow the motor to spin up - that way short events still trigger a vibration.
In the process I have found a really weird bug that I cant get my head round.
Reproduce as follows:
* power up radio
* move trim stick on left stick 2 clicks left - then 2 clicks right. ; this should fire the haptic - and it does! But at a very very low power.
* move trim stick left all the way... then back to center... then all the way left.. then back to center again. Boom Haptic at full power.
I cant for the life of me get my head round why this would be the case.
Any ideas?
Rob
I have been working through some haptic updates to introduce a longer delay to allow the motor to spin up - that way short events still trigger a vibration.
In the process I have found a really weird bug that I cant get my head round.
Reproduce as follows:
* power up radio
* move trim stick on left stick 2 clicks left - then 2 clicks right. ; this should fire the haptic - and it does! But at a very very low power.
* move trim stick left all the way... then back to center... then all the way left.. then back to center again. Boom Haptic at full power.
I cant for the life of me get my head round why this would be the case.
Any ideas?
Rob