sensor.AddObservation(System.Convert.ToInt32(m_BallScript.lastFloorHit == HitWall.FloorHit.FloorHitUnset));
AddReward(m_BallTouch * (1f / Vector3.Distance(ball.transform.position, transform.position)));
Debug.Log(m_BallTouch * (1f / Vector3.Distance(ball.transform.position, transform.position)));
}
public override void OnActionReceived(float[] vectorAction)
Tennis:
measure: progress
thresholds: [0.02, 0.04, 0.06, 0.08, 0.1, 0.12, 0.14, 0.16, 0.18, 0.2]
thresholds: [0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1]
min_lesson_length: 100
signal_smoothing: true
parameters: