Watchdog function #42
-
Hello, Kindly regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Which wheel? And what do you mean by blocked? I am not aware that there should be issues related to the watchdog |
Beta Was this translation helpful? Give feedback.
-
It is a two-wheel vehicle. If one of the wheels is blocked by an obstacle, the motor must stop or run backwards or else. |
Beta Was this translation helpful? Give feedback.
It is a two-wheel vehicle. If one of the wheels is blocked by an obstacle, the motor must stop or run backwards or else.
I was looking for something like 'no interrupt, then the wheel is not rolling'. Now I have found a solution by myself. Every encoder tick is setting a timeout. If a wheel is blocked, the tick is missing and the timeout stops the motor.
Have a nice weekend
Klaus