added argument to switch between front or unified front and rear scans in cob_mapping_slam