def __init__(self, speed, canvaswidth, canvasheight, path, P, I, D, color='blue'):
    super().__init__(speed, canvaswidth, canvasheight, path, color)
    self.P = P
    self.I = I
    self.D = D
    self.lastErr = 0
    self.totalErr = 0
def __init__(self, speed, canvaswidth, canvasheight, path, P, I, D, color='blue'):
    super().__init__(speed, canvaswidth, canvasheight, path, color)
    self.P = P
    self.I = I
    self.D = D
    self.lastErr = 0
    self.totalErr = 0