Autonomous Navigation In Complex Nonplanar Environments Based On Laser Ranging