matched file structure of classic control with other tasks

This commit is contained in:
ottofabian
2021-06-25 16:17:22 +02:00
parent a30bdb8ce5
commit dffa3e3682
13 changed files with 96 additions and 87 deletions
+2 -2
View File
@@ -98,14 +98,14 @@ class AlrMujocoEnv(PositionalEnv, AlrEnv):
@property
def start_pos(self):
"""
Start position of the agent, for example joint angles of a Panda robot. Necessary for MP wrapped envs.
Start position of the agent, for example joint angles of a Panda robot. Necessary for MP wrapped simple_reacher.
"""
return self._start_pos
@property
def start_vel(self):
"""
Start velocity of the agent. Necessary for MP wrapped envs.
Start velocity of the agent. Necessary for MP wrapped simple_reacher.
"""
return self._start_vel
@@ -39,7 +39,7 @@ def config_save(dir_path, config):
def change_kp_in_xml(kp_list,
model_path="/home/zhou/slow/table_tennis_rl/simulation/gymTableTennis/gym_table_tennis/envs/robotics/assets/table_tennis/right_arm_actuator.xml"):
model_path="/home/zhou/slow/table_tennis_rl/simulation/gymTableTennis/gym_table_tennis/simple_reacher/robotics/assets/table_tennis/right_arm_actuator.xml"):
tree = ET.parse(model_path)
root = tree.getroot()
# for actuator in root.find("actuator"):