def getReward(self):
        # -1 reward for falling over; no reward otherwise.
        x = 15.
        y = 20.
        if np.abs(self.env.getTilt()) > self.max_tilt:
            return -1.0
        else:
            return 1e-5 * ((x - self.env.getXF())**2 + (self.env.getYF() - y)**2)
dataset/ETHPy150Open chrisdembia/agent-bicycle/randlov1998/tasks_old.py/LinearFATileCoding3456GoToTask.getReward/swapped operands of `-`