rudimentary planner -> stop when close to an object