(self, physics)
return rewards.tolerance(physics.upright(), bounds=(1, 1), margin=1)
Returns a smooth reward.
Returns a smooth reward.
Returns a smooth reward .
def get_reward(self, physics):
    """Returns a smooth reward."""
    return rewards.tolerance(physics.upright(), bounds=(1, 1), margin=1)
def get_reward ( self , physics ) : return rewards . tolerance ( physics . upright ( ) , bounds = ( 1 , 1 ) , margin = 1 )