Robots in indoor and outdoor environments