浏览代码

Cleanup - remove walker demo file (#4068)

* cleanup - remove walker demo file

* move properties in WalkerAgent script. no logic changes
/MLA-1734-demo-provider
GitHub 4 年前
当前提交
8d29368d
共有 3 个文件被更改,包括 7 次插入1017 次删除
  1. 13
      Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs
  2. 1001
      Project/Assets/ExpertWalkerDyn.demo
  3. 10
      Project/Assets/ExpertWalkerDyn.demo.meta

13
Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs


public float maximumWalkingSpeed = 999; //The max walk velocity magnitude an agent will be rewarded for
Vector3 m_WalkDir; //Direction to the target
Quaternion m_WalkDirLookRot; //Will hold the rotation to our target
[Header("Orientation")] [Space(10)]
//This will be used as a stable reference point for observations
//Because ragdolls can move erratically, using a standalone reference point can significantly improve learning
public GameObject orientationCube;
[Header("Target To Walk Towards")] [Space(10)]
public float targetSpawnRadius; //The radius in which a target can be randomly spawned.

public Transform armR;
public Transform forearmR;
public Transform handR;
[Header("Orientation")] [Space(10)]
//This will be used as a stable reference point for observations
//Because ragdolls can move erratically, using a standalone reference point can significantly improve learning
public GameObject orientationCube;
JointDriveController m_JdController;
EnvironmentParameters m_ResetParams;

1001
Project/Assets/ExpertWalkerDyn.demo
文件差异内容过多而无法显示
查看文件

10
Project/Assets/ExpertWalkerDyn.demo.meta


fileFormatVersion: 2
guid: 48304968c270e4e998199f64b2a18b4e
ScriptedImporter:
fileIDToRecycleName:
11400000: Assets/ExpertWalkerDyn.demo
externalObjects: {}
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)'
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3}
正在加载...
取消
保存