I just realised that I'd swapped the diagonal measurements in the obstacle follower