(self, env)
return self.current_base_pos[0] - self.last_base_pos[0]
Get the reward without side effects.
Get the reward without side effects.
Get the reward without side effects .
def reward(self, env):
    """Get the reward without side effects."""
    del env
    return self.current_base_pos[0] - self.last_base_pos[0]
def reward ( self , env ) : del env return self . current_base_pos [ 0 ] - self . last_base_pos [ 0 ]