public double DistanceToClosestObstacle(VehicleState state) => track.DistanceToClosestObstacle(state.Position) - Math.Max(ux, uy);
public double DistanceToClosestObstacle(VehicleState state) => track.DistanceToClosestObstacle(state.Position) - diagonal;