change 7v7 3v3 FIFA code
This commit is contained in:
@@ -4,7 +4,7 @@ from typing import Mapping
|
||||
|
||||
import numpy as np
|
||||
from utils.math_ops import MathOps
|
||||
from world.commons.field import FIFAField, HLAdultField
|
||||
from world.commons.field import FIFAField, HLAdultField, Soccer7vs7Field
|
||||
from world.commons.play_mode import PlayModeEnum, PlayModeGroupEnum
|
||||
|
||||
|
||||
@@ -37,6 +37,15 @@ class Agent:
|
||||
1: (7.0, 0.0, 0),
|
||||
2: (2.0, -1.5, 0),
|
||||
3: (2.0, 1.5, 0),
|
||||
},
|
||||
Soccer7vs7Field: {
|
||||
1: (2.1, 0, 0),
|
||||
2: (22.0, 12.0, 0),
|
||||
3: (22.0, 4.0, 0),
|
||||
4: (22.0, -4.0, 0),
|
||||
5: (22.0, -12.0, 0),
|
||||
6: (15.0, 0.0, 0),
|
||||
7: (4.0, 16.0, 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ class Base_Agent:
|
||||
number: int = 1,
|
||||
host: str = "localhost",
|
||||
port: int = 60000,
|
||||
field: str = 'fifa'
|
||||
field: str = 'sim3d_7vs7'
|
||||
):
|
||||
"""
|
||||
Initializes the agent and all its main components.
|
||||
|
||||
Reference in New Issue
Block a user