PCB v2 encoder function. autosteer code editing

Hello,

If i see it right then the sensor closes and opens and that is 1 count or am i wrong? We have trouble with how baraki sensor is working. We want just like Current or pressure sensor. We now need to wiggle the wheel to disengage. I have put the ! in the code but its still not as we want.

What did you mean by “Maybe a better option is to read the remote pin and just force autosteer off till the next button press”

Thnx in advance