Basic operation with simple obstacle avoidance