enable pybullet_env Ant Gym rendering, tinyRenderer has some issue with the ant.xml file though
This commit is contained in:
@@ -9,7 +9,8 @@ class WalkerBase(MJCFBasedRobot):
|
||||
self.camera_x = 0
|
||||
self.walk_target_x = 1e3 # kilometer away
|
||||
self.walk_target_y = 0
|
||||
|
||||
self.body_xyz=[0,0,0]
|
||||
|
||||
def robot_specific_reset(self):
|
||||
for j in self.ordered_joints:
|
||||
j.reset_current_position(self.np_random.uniform(low=-0.1, high=0.1), 0)
|
||||
|
||||
Reference in New Issue
Block a user