# Add some prints so you can see what's going on. My guess is it must be detecting the wall too often