Obstacle avoidance with an UGV -HELP PLEASE-

I cannot tell you how much this is really going to help me!! The GPS library is the same one I use, but for a different GPS, and I have the same digital compass! Thanks a bunch!! But back to the obstacle avoidance---any advice/ ideas to get me going?