Text this: Autonomous robot for flatness inspection