def convert(x_s):
    """
    This function converts the raw hokuyo data into meters.

    :param x_s: scaled data
    :return: float64 -- distance in meters
    """

    scaling = 0.005 # 5 mm
    offset = -100.0

    x = x_s * scaling + offset

    return x