matched file structure of classic control with other tasks
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user