(self, physics)
return obs
Returns an observation of joint angles, body velocities and target.
Returns an observation of joint angles, body velocities and target.
Returns an observation of joint angles body velocities and target .
def get_observation(self, physics):
    """Returns an observation of joint angles, body velocities and target."""
    obs = collections.OrderedDict()
    obs['joints'] = physics.joints()
    obs['to_target'] = physics.nose_to_target()
    obs['body_velocities'] = physics.body_velocities()
    return obs
def get_observation ( self , physics ) : obs = collections . OrderedDict ( ) obs [ 'joints' ] = physics . joints ( ) obs [ 'to_target' ] = physics . nose_to_target ( ) obs [ 'body_velocities' ] = physics . body_velocities ( ) return obs