(self)
Resets the history buffers to 0.
Resets the history buffers to 0.
Resets the history buffers to 0 .
def reset(self):
    """Resets the history buffers to 0."""
    self.yhist.clear()
    self.xhist.clear()
    for _ in range(self.hist_len):
      self.yhist.appendleft(np.zeros((self.num_joints, 1)))
      self.xhist.appendleft(np.zeros((self.num_joints, 1)))
def reset ( self ) : self . yhist . clear ( ) self . xhist . clear ( ) for _ in range ( self . hist_len ) : self . yhist . appendleft ( np . zeros ( ( self . num_joints , 1 ) ) ) self . xhist . appendleft ( np . zeros ( ( self . num_joints , 1 ) ) )