def METHOD_NAME(self, cmd):
    """
    Send command to the Atlas Sensor.
    Before sending, add Carriage Return at the end of the command.
    :param cmd:
    :return:
    """
    buf = cmd + "\r"  # add carriage return
    try:
        self.write(buf)
        return True
    except FtdiError:
        print("Failed to send command to the sensor.")
    return False