Free-space detection