This commit is contained in:
jxr 2024-09-02 17:22:26 +08:00
parent 4c9fc3ec10
commit 5b87157925
49 changed files with 44 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

38
config.json Normal file
View File

@ -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"
]
}

BIN
cpp/a_star/a_star.c_info Normal file

Binary file not shown.

BIN
cpp/a_star/a_star.so Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cpp/localization/localization.so Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.