class RandomErrorEstimationStrategy(ErrorEstimationStrategy):
    """
    Compute an error randomly.
    """

    def __init__(self, feetFollowerWithCorrection):
        ErrorEstimatorStrategy.__init__(self, feetFollowerWithCorrection)

        self.errorEstimator = Randomizer('r')
        self.errorEstimator.addSignal('error', 3)

    def start(self):
        return True

    def interactiveStart(self):
        return True

    def __str__(self):
        return "random error estimation"
    def __init__(self, feetFollowerWithCorrection):
        ErrorEstimatorStrategy.__init__(self, feetFollowerWithCorrection)

        self.errorEstimator = Randomizer('r')
        self.errorEstimator.addSignal('error', 3)