main
jxr 3 months ago
parent 4c9fc3ec10
commit 5b87157925

@ -15,14 +15,13 @@ class Dribble():
self.description = "RL dribble" self.description = "RL dribble"
self.auto_head = True self.auto_head = True
self.env = Env(base_agent, 0.9 if self.world.robot.type == 3 else 1.2) self.env = Env(base_agent, 0.9 if self.world.robot.type == 3 else 1.2)
with open(M.get_active_directory([ with open(M.get_active_directory([
"/behaviors/custom/Dribble/dribble_R0.pkl", "/behaviors/custom/Dribble/dribble_long_R1_00_178M.pkl",
"/behaviors/custom/Dribble/dribble_R1.pkl", "/behaviors/custom/Dribble/dribble_long_R1_00_178M.pkl",
"/behaviors/custom/Dribble/dribble_R2.pkl", "/behaviors/custom/Dribble/dribble_long_R1_00_178M.pkl",
"/behaviors/custom/Dribble/dribble_R3.pkl", "/behaviors/custom/Dribble/dribble_long_R1_00_178M.pkl",
"/behaviors/custom/Dribble/dribble_R4.pkl" "/behaviors/custom/Dribble/dribble_long_R1_00_178M.pkl"
][self.world.robot.type]), 'rb') as f: ][self.world.robot.type]), 'rb') as f:
self.model = pickle.load(f) self.model = pickle.load(f)
def define_approach_orientation(self): def define_approach_orientation(self):

@ -0,0 +1,38 @@
{
"i": [
"Server Hostname/IP",
"localhost"
],
"p": [
"Agent Port",
"3100"
],
"m": [
"Monitor Port",
"3200"
],
"t": [
"Team Name",
"FCPortugal"
],
"u": [
"Uniform Number",
"1"
],
"r": [
"Robot Type",
"1"
],
"P": [
"Penalty Shootout",
"0"
],
"F": [
"magmaFatProxy",
"0"
],
"D": [
"Debug Mode",
"1"
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save