(self, env)
Updates the internal state of the task.
Updates the internal state of the task.
Updates the internal state of the task .
def update(self, env):
    """Updates the internal state of the task."""
    self.last_base_pos = self.current_base_pos
    self.current_base_pos = env.robot.GetBasePosition()
def update ( self , env ) : self . last_base_pos = self . current_base_pos self . current_base_pos = env . robot . GetBasePosition ( )