A Multistage Framework for Autonomous Robotic Mapping with Targeted Metrics