[localization] Corrects how the laser measure is chosen before sending measure to the main robot.