Sensor-based global planning for mobile robot navigation