Real-time robot motion in uncertain and unknown environments