def __init__(self, robot, estimator='default'): self.estimator = estimator if estimator == 'default': self.estimator = AdaptiveMotionModel('velocity', 'velocity') self.xnames = ['q', 'dq'] self.unames = ['dqcmd'] self.qlast = None self.discount = None