def getReward(self):
        #Assigns reward based on a modified power low distribution
        x = np.abs(self.env.getTilt())
        if x<1.0/2*LinearFATileCoding3456BalanceTask.max_tilt:
            R = 2*e**(-x**2)
        elif 1.0/2*LinearFATileCoding3456BalanceTask.max_tilt<=x and x<3.0/4*LinearFATileCoding3456BalanceTask.max_tilt:
            R = -2*e**(-x**2)
        else:
            R = -5.0
        return R
dataset/ETHPy150Open chrisdembia/agent-bicycle/randlov1998/tasks_old.py/LinearFATileCoding3456BalanceTaskRewardBipolar2.getReward/original