diff --git a/agent/__pycache__/Agent.cpython-311.pyc b/agent/__pycache__/Agent.cpython-311.pyc new file mode 100644 index 0000000..793995d Binary files /dev/null and b/agent/__pycache__/Agent.cpython-311.pyc differ diff --git a/agent/__pycache__/Base_Agent.cpython-311.pyc b/agent/__pycache__/Base_Agent.cpython-311.pyc new file mode 100644 index 0000000..4d1b0ef Binary files /dev/null and b/agent/__pycache__/Base_Agent.cpython-311.pyc differ diff --git a/behaviors/__pycache__/Behavior.cpython-311.pyc b/behaviors/__pycache__/Behavior.cpython-311.pyc new file mode 100644 index 0000000..aad0700 Binary files /dev/null and b/behaviors/__pycache__/Behavior.cpython-311.pyc differ diff --git a/behaviors/__pycache__/Head.cpython-311.pyc b/behaviors/__pycache__/Head.cpython-311.pyc new file mode 100644 index 0000000..c9c33c5 Binary files /dev/null and b/behaviors/__pycache__/Head.cpython-311.pyc differ diff --git a/behaviors/__pycache__/Poses.cpython-311.pyc b/behaviors/__pycache__/Poses.cpython-311.pyc new file mode 100644 index 0000000..42684fc Binary files /dev/null and b/behaviors/__pycache__/Poses.cpython-311.pyc differ diff --git a/behaviors/__pycache__/Slot_Engine.cpython-311.pyc b/behaviors/__pycache__/Slot_Engine.cpython-311.pyc new file mode 100644 index 0000000..2996d8c Binary files /dev/null and b/behaviors/__pycache__/Slot_Engine.cpython-311.pyc differ diff --git a/behaviors/custom/Basic_Kick/__pycache__/Basic_Kick.cpython-311.pyc b/behaviors/custom/Basic_Kick/__pycache__/Basic_Kick.cpython-311.pyc new file mode 100644 index 0000000..c48df8b Binary files /dev/null and b/behaviors/custom/Basic_Kick/__pycache__/Basic_Kick.cpython-311.pyc differ diff --git a/behaviors/custom/Dribble/Dribble.py b/behaviors/custom/Dribble/Dribble.py index d5518b3..e28ce93 100644 --- a/behaviors/custom/Dribble/Dribble.py +++ b/behaviors/custom/Dribble/Dribble.py @@ -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): diff --git a/behaviors/custom/Dribble/__pycache__/Dribble.cpython-311.pyc b/behaviors/custom/Dribble/__pycache__/Dribble.cpython-311.pyc new file mode 100644 index 0000000..f15a3d4 Binary files /dev/null and b/behaviors/custom/Dribble/__pycache__/Dribble.cpython-311.pyc differ diff --git a/behaviors/custom/Dribble/__pycache__/Env.cpython-311.pyc b/behaviors/custom/Dribble/__pycache__/Env.cpython-311.pyc new file mode 100644 index 0000000..ad59742 Binary files /dev/null and b/behaviors/custom/Dribble/__pycache__/Env.cpython-311.pyc differ diff --git a/behaviors/custom/Dribble/dribble_R0.pkl b/behaviors/custom/Dribble/dribble_R0.pkl deleted file mode 100644 index 7d0e050..0000000 Binary files a/behaviors/custom/Dribble/dribble_R0.pkl and /dev/null differ diff --git a/behaviors/custom/Dribble/dribble_R1.pkl b/behaviors/custom/Dribble/dribble_R1.pkl deleted file mode 100644 index 9e1043c..0000000 Binary files a/behaviors/custom/Dribble/dribble_R1.pkl and /dev/null differ diff --git a/behaviors/custom/Dribble/dribble_R2.pkl b/behaviors/custom/Dribble/dribble_R2.pkl deleted file mode 100644 index 9d9d61f..0000000 Binary files a/behaviors/custom/Dribble/dribble_R2.pkl and /dev/null differ diff --git a/behaviors/custom/Dribble/dribble_R3.pkl b/behaviors/custom/Dribble/dribble_R3.pkl deleted file mode 100644 index aa33258..0000000 Binary files a/behaviors/custom/Dribble/dribble_R3.pkl and /dev/null differ diff --git a/behaviors/custom/Dribble/dribble_R4.pkl b/behaviors/custom/Dribble/dribble_R4.pkl deleted file mode 100644 index 781d55a..0000000 Binary files a/behaviors/custom/Dribble/dribble_R4.pkl and /dev/null differ diff --git a/behaviors/custom/Dribble/dribble_long_R1_00_178M.pkl b/behaviors/custom/Dribble/dribble_long_R1_00_178M.pkl new file mode 100644 index 0000000..c64f5bc Binary files /dev/null and b/behaviors/custom/Dribble/dribble_long_R1_00_178M.pkl differ diff --git a/behaviors/custom/Dribble/dribble_long_R1_04_183M.pkl b/behaviors/custom/Dribble/dribble_long_R1_04_183M.pkl new file mode 100644 index 0000000..48a30d8 Binary files /dev/null and b/behaviors/custom/Dribble/dribble_long_R1_04_183M.pkl differ diff --git a/behaviors/custom/Dribble/dribble_long_R1_08_78M.pkl b/behaviors/custom/Dribble/dribble_long_R1_08_78M.pkl new file mode 100644 index 0000000..1c1db05 Binary files /dev/null and b/behaviors/custom/Dribble/dribble_long_R1_08_78M.pkl differ diff --git a/behaviors/custom/Fall/__pycache__/Fall.cpython-311.pyc b/behaviors/custom/Fall/__pycache__/Fall.cpython-311.pyc new file mode 100644 index 0000000..f0a6f32 Binary files /dev/null and b/behaviors/custom/Fall/__pycache__/Fall.cpython-311.pyc differ diff --git a/behaviors/custom/Get_Up/__pycache__/Get_Up.cpython-311.pyc b/behaviors/custom/Get_Up/__pycache__/Get_Up.cpython-311.pyc new file mode 100644 index 0000000..4ab9f15 Binary files /dev/null and b/behaviors/custom/Get_Up/__pycache__/Get_Up.cpython-311.pyc differ diff --git a/behaviors/custom/Step/__pycache__/Step.cpython-311.pyc b/behaviors/custom/Step/__pycache__/Step.cpython-311.pyc new file mode 100644 index 0000000..058b837 Binary files /dev/null and b/behaviors/custom/Step/__pycache__/Step.cpython-311.pyc differ diff --git a/behaviors/custom/Step/__pycache__/Step_Generator.cpython-311.pyc b/behaviors/custom/Step/__pycache__/Step_Generator.cpython-311.pyc new file mode 100644 index 0000000..722e3f9 Binary files /dev/null and b/behaviors/custom/Step/__pycache__/Step_Generator.cpython-311.pyc differ diff --git a/behaviors/custom/Walk/__pycache__/Env.cpython-311.pyc b/behaviors/custom/Walk/__pycache__/Env.cpython-311.pyc new file mode 100644 index 0000000..ac4d427 Binary files /dev/null and b/behaviors/custom/Walk/__pycache__/Env.cpython-311.pyc differ diff --git a/behaviors/custom/Walk/__pycache__/Walk.cpython-311.pyc b/behaviors/custom/Walk/__pycache__/Walk.cpython-311.pyc new file mode 100644 index 0000000..81e863b Binary files /dev/null and b/behaviors/custom/Walk/__pycache__/Walk.cpython-311.pyc differ diff --git a/communication/__pycache__/Radio.cpython-311.pyc b/communication/__pycache__/Radio.cpython-311.pyc new file mode 100644 index 0000000..ddf8e62 Binary files /dev/null and b/communication/__pycache__/Radio.cpython-311.pyc differ diff --git a/communication/__pycache__/Server_Comm.cpython-311.pyc b/communication/__pycache__/Server_Comm.cpython-311.pyc new file mode 100644 index 0000000..fba32a8 Binary files /dev/null and b/communication/__pycache__/Server_Comm.cpython-311.pyc differ diff --git a/communication/__pycache__/World_Parser.cpython-311.pyc b/communication/__pycache__/World_Parser.cpython-311.pyc new file mode 100644 index 0000000..793ef53 Binary files /dev/null and b/communication/__pycache__/World_Parser.cpython-311.pyc differ diff --git a/config.json b/config.json new file mode 100644 index 0000000..5f6b5e9 --- /dev/null +++ b/config.json @@ -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" + ] +} \ No newline at end of file diff --git a/cpp/a_star/a_star.c_info b/cpp/a_star/a_star.c_info new file mode 100644 index 0000000..e8efeea Binary files /dev/null and b/cpp/a_star/a_star.c_info differ diff --git a/cpp/a_star/a_star.so b/cpp/a_star/a_star.so new file mode 100755 index 0000000..c69e3a4 Binary files /dev/null and b/cpp/a_star/a_star.so differ diff --git a/cpp/ball_predictor/ball_predictor.c_info b/cpp/ball_predictor/ball_predictor.c_info new file mode 100644 index 0000000..e8efeea Binary files /dev/null and b/cpp/ball_predictor/ball_predictor.c_info differ diff --git a/cpp/ball_predictor/ball_predictor.so b/cpp/ball_predictor/ball_predictor.so new file mode 100755 index 0000000..868c8cc Binary files /dev/null and b/cpp/ball_predictor/ball_predictor.so differ diff --git a/cpp/localization/localization.c_info b/cpp/localization/localization.c_info new file mode 100644 index 0000000..e8efeea Binary files /dev/null and b/cpp/localization/localization.c_info differ diff --git a/cpp/localization/localization.so b/cpp/localization/localization.so new file mode 100755 index 0000000..fcdf4ab Binary files /dev/null and b/cpp/localization/localization.so differ diff --git a/logs/__pycache__/Logger.cpython-311.pyc b/logs/__pycache__/Logger.cpython-311.pyc new file mode 100644 index 0000000..aa955a2 Binary files /dev/null and b/logs/__pycache__/Logger.cpython-311.pyc differ diff --git a/math_ops/__pycache__/Inverse_Kinematics.cpython-311.pyc b/math_ops/__pycache__/Inverse_Kinematics.cpython-311.pyc new file mode 100644 index 0000000..f7a66cc Binary files /dev/null and b/math_ops/__pycache__/Inverse_Kinematics.cpython-311.pyc differ diff --git a/math_ops/__pycache__/Math_Ops.cpython-311.pyc b/math_ops/__pycache__/Math_Ops.cpython-311.pyc new file mode 100644 index 0000000..0fb2430 Binary files /dev/null and b/math_ops/__pycache__/Math_Ops.cpython-311.pyc differ diff --git a/math_ops/__pycache__/Matrix_3x3.cpython-311.pyc b/math_ops/__pycache__/Matrix_3x3.cpython-311.pyc new file mode 100644 index 0000000..3139ae3 Binary files /dev/null and b/math_ops/__pycache__/Matrix_3x3.cpython-311.pyc differ diff --git a/math_ops/__pycache__/Matrix_4x4.cpython-311.pyc b/math_ops/__pycache__/Matrix_4x4.cpython-311.pyc new file mode 100644 index 0000000..e488083 Binary files /dev/null and b/math_ops/__pycache__/Matrix_4x4.cpython-311.pyc differ diff --git a/math_ops/__pycache__/Neural_Network.cpython-311.pyc b/math_ops/__pycache__/Neural_Network.cpython-311.pyc new file mode 100644 index 0000000..46bcb3d Binary files /dev/null and b/math_ops/__pycache__/Neural_Network.cpython-311.pyc differ diff --git a/scripts/commons/__pycache__/Script.cpython-311.pyc b/scripts/commons/__pycache__/Script.cpython-311.pyc new file mode 100644 index 0000000..4ebcafe Binary files /dev/null and b/scripts/commons/__pycache__/Script.cpython-311.pyc differ diff --git a/scripts/commons/__pycache__/UI.cpython-311.pyc b/scripts/commons/__pycache__/UI.cpython-311.pyc new file mode 100644 index 0000000..df0a00f Binary files /dev/null and b/scripts/commons/__pycache__/UI.cpython-311.pyc differ diff --git a/world/__pycache__/Robot.cpython-311.pyc b/world/__pycache__/Robot.cpython-311.pyc new file mode 100644 index 0000000..30f8eb7 Binary files /dev/null and b/world/__pycache__/Robot.cpython-311.pyc differ diff --git a/world/__pycache__/World.cpython-311.pyc b/world/__pycache__/World.cpython-311.pyc new file mode 100644 index 0000000..c910b17 Binary files /dev/null and b/world/__pycache__/World.cpython-311.pyc differ diff --git a/world/commons/__pycache__/Body_Part.cpython-311.pyc b/world/commons/__pycache__/Body_Part.cpython-311.pyc new file mode 100644 index 0000000..84a940e Binary files /dev/null and b/world/commons/__pycache__/Body_Part.cpython-311.pyc differ diff --git a/world/commons/__pycache__/Draw.cpython-311.pyc b/world/commons/__pycache__/Draw.cpython-311.pyc new file mode 100644 index 0000000..758e2e2 Binary files /dev/null and b/world/commons/__pycache__/Draw.cpython-311.pyc differ diff --git a/world/commons/__pycache__/Joint_Info.cpython-311.pyc b/world/commons/__pycache__/Joint_Info.cpython-311.pyc new file mode 100644 index 0000000..622ab8e Binary files /dev/null and b/world/commons/__pycache__/Joint_Info.cpython-311.pyc differ diff --git a/world/commons/__pycache__/Other_Robot.cpython-311.pyc b/world/commons/__pycache__/Other_Robot.cpython-311.pyc new file mode 100644 index 0000000..54d92d4 Binary files /dev/null and b/world/commons/__pycache__/Other_Robot.cpython-311.pyc differ diff --git a/world/commons/__pycache__/Path_Manager.cpython-311.pyc b/world/commons/__pycache__/Path_Manager.cpython-311.pyc new file mode 100644 index 0000000..d5462d7 Binary files /dev/null and b/world/commons/__pycache__/Path_Manager.cpython-311.pyc differ