Adjustable linear models for optic flow based obstacle avoidance