An Integrated Terrain Identification Framework for Mobile Robots: System Development, Analysis, and Verification