Anomaly in obstacle detection by hc sr04 with arduino

Moderator edit: Thread locked. Please don't cross-post. (Nick Gammon)