def __init__(self, fn, robot_name, action_dim, obs_dim, power):
     MJCFBasedRobot.__init__(self, fn, robot_name, action_dim, obs_dim)
     self.power = power
     self.camera_x = 0
     self.walk_target_x = 1e3  # kilometer away
     self.walk_target_y = 0
     self.body_xyz = [0, 0, 0]
示例#2
0
	def __init__(self,  fn, robot_name, action_dim, obs_dim, power):
		MJCFBasedRobot.__init__(self, fn, robot_name, action_dim, obs_dim)
		self.power = power
		self.camera_x = 0
		self.start_pos_x, self.start_pos_y, self.start_pos_z = 0, 0, 0
		self.walk_target_x = 1e3  # kilometer away
		self.walk_target_y = 0
		self.body_xyz=[0,0,0]
示例#3
0
 def __init__(self):
     MJCFBasedRobot.__init__(self,
                             'inverted_pendulum.xml',
                             'cart',
                             action_dim=1,
                             obs_dim=5)
示例#4
0
from robot_bases import XmlBasedRobot, MJCFBasedRobot, URDFBasedRobot
示例#5
0
 def __init__(self):
     MJCFBasedRobot.__init__(self,
                             'reacher.xml',
                             'body0',
                             action_dim=2,
                             obs_dim=9)
示例#6
0
 def __init__(self):
     MJCFBasedRobot.__init__(self,
                             'pusher.xml',
                             'body0',
                             action_dim=7,
                             obs_dim=55)
示例#7
0
 def __init__(self):
     MJCFBasedRobot.__init__(self,
                             'thrower.xml',
                             'body0',
                             action_dim=7,
                             obs_dim=48)
示例#8
0
 def __init__(self):
     MJCFBasedRobot.__init__(self,
                             model_xml='striker.xml',
                             robot_name='body0',
                             action_dim=7,
                             obs_dim=55)
示例#9
0
	def __init__(self):
		MJCFBasedRobot.__init__(self,  'inverted_double_pendulum.xml', 'cart', action_dim=1, obs_dim=9)
示例#10
0
	def __init__(self):
		MJCFBasedRobot.__init__(self, 'reacher.xml', 'body0', action_dim=2, obs_dim=9)
示例#11
0
	def __init__(self):
		MJCFBasedRobot.__init__(self, 'pusher.xml', 'body0', action_dim=7, obs_dim=55)
示例#12
0
	def __init__(self):
		MJCFBasedRobot.__init__(self, 'thrower.xml', 'body0', action_dim=7, obs_dim=48)