浏览代码

DynamicWalker working. has working nn file

/docs-update
Hunter-Unity 4 年前
当前提交
5f149660
共有 4 个文件被更改,包括 1016 次插入4 次删除
  1. 2
      Project/Assets/ML-Agents/Examples/Walker/Prefabs/DynamicPlatformWalker.prefab
  2. 6
      Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgentDynamic.cs
  3. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamic20MStepsGoFast.nn
  4. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamic20MStepsGoFast.nn.meta

2
Project/Assets/ML-Agents/Examples/Walker/Prefabs/DynamicPlatformWalker.prefab


type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: dc4712fd0c6584fb98db5490e6fff40d,
objectReference: {fileID: 11400000, guid: c9829341105cb43cd8449a5e1e092492,
type: 3}
- target: {fileID: 5756232957735828584, guid: 001d1b295f8df4798b00a691b6882732,
type: 3}

6
Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgentDynamic.cs


// +0.02f * Vector3.Dot(m_WalkDir.normalized, m_JdController.bodyPartsDict[hips].rb.velocity)
// + 0.02f * Vector3.Dot(m_OrientationCube.transform.forward,Vector3.ClampMagnitude(m_JdController.bodyPartsDict[hips].rb.velocity,5))
+0.02f * Vector3.Dot(m_OrientationCube.transform.forward,
Vector3.ClampMagnitude(m_JdController.bodyPartsDict[hips].rb.velocity, 5))
+ 0.01f * Vector3.Dot(m_OrientationCube.transform.forward, hips.forward)
// + 0.01f * Vector3.Dot(m_OrientationCube.transform.forward, head.forward)
Vector3.ClampMagnitude(m_JdController.bodyPartsDict[hips].rb.velocity, 999))
// + 0.01f * Vector3.Dot(m_OrientationCube.transform.forward, hips.forward)
+ 0.01f * Vector3.Dot(m_OrientationCube.transform.forward, head.forward)
// + 0.01f * Quaternion.Dot(m_OrientationCube.transform.rotation, chest.rotation) //reward looking at
// + 0.01f * Quaternion.Dot(m_OrientationCube.transform.rotation, hips.rotation) //reward looking at

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamic20MStepsGoFast.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamic20MStepsGoFast.nn.meta


fileFormatVersion: 2
guid: c9829341105cb43cd8449a5e1e092492
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}
正在加载...
取消
保存