(features)
return full_qpos, full_qvel
Get qpos and qvel from logged features to set walker.
Get qpos and qvel from logged features to set walker.
Get qpos and qvel from logged features to set walker .
def get_qpos_qvel_from_features(features):
  """Get qpos and qvel from logged features to set walker."""
  full_qpos = np.hstack([
      features['position'],
      features['quaternion'],
      features['joints'],
  ])
  full_qvel = np.hstack([
      features['velocity'],
      features['angular_velocity'],
      features['joints_velocity'],
  ])
  return full_qpos, full_qvel
def get_qpos_qvel_from_features ( features ) : full_qpos = np . hstack ( [ features [ 'position' ] , features [ 'quaternion' ] , features [ 'joints' ] , ] ) full_qvel = np . hstack ( [ features [ 'velocity' ] , features [ 'angular_velocity' ] , features [ 'joints_velocity' ] , ] ) return full_qpos , full_qvel