This commit is contained in:
2024-04-12 14:42:34 +02:00
parent c38ce59409
commit c637b139fb
6 changed files with 17 additions and 5 deletions

View File

@@ -83,6 +83,10 @@ public class AgentController : Agent
sensor.AddObservation(checkpointAngle);
float checkpintDistance = distanceToCheckpoint(currentCheckpoint);
sensor.AddObservation(checkpintDistance);
// Agent velocity
var FullVelocityMagnitude = rigidBody.velocity.magnitude; // Velocity including angular velocity