Updated with latest collision avoidance routine by avoiding for 0.5 seconds, stopping and then re-evaluate to reduce optical flow from horizontal motion.