浏览代码

try new dot

/active-variablespeed
HH 4 年前
当前提交
611623e7
共有 3 个文件被更改,包括 1020 次插入1 次删除
  1. 20
      Project/Assets/ML-Agents/Examples/Walker/Prefabs/DynamicPlatformWalker.prefab
  2. 998
      Project/Assets/ML-Agents/Examples/Walker/Scenes/WalkerDynamic.unity
  3. 3
      Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs

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


propertyPath: randomizeWalkSpeedEachEpisode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7933235353030744136, guid: 765582efd9dda46ed98564603316353f,
type: 3}
propertyPath: agentDoneOnGroundContact
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7933235353030744136, guid: 765582efd9dda46ed98564603316353f,
type: 3}
propertyPath: penalizeGroundContact
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7933235353030744136, guid: 765582efd9dda46ed98564603316353f,
type: 3}
propertyPath: groundContactPenalty
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 765582efd9dda46ed98564603316353f, type: 3}
--- !u!1 &6065910098925129117 stripped

type: 3}
propertyPath: onCollisionEnterEvent.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3826955612593018128, guid: 46734abd0de454192b407379c6a4ab8d,
type: 3}
propertyPath: m_CastShadows
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3839136118347789758, guid: 46734abd0de454192b407379c6a4ab8d,
type: 3}

998
Project/Assets/ML-Agents/Examples/Walker/Scenes/WalkerDynamic.unity
文件差异内容过多而无法显示
查看文件

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


// var moveTowardsTargetReward = Vector3.Dot(cubeForward,
// Vector3.ClampMagnitude(m_JdController.bodyPartsDict[hips].rb.velocity, maximumWalkingSpeed));
// b. Rotation alignment with goal direction.
lookAtTargetReward = Vector3.Dot(cubeForward, head.forward);
// lookAtTargetReward = Vector3.Dot(cubeForward, head.forward);
lookAtTargetReward = (Vector3.Dot(cubeForward, head.forward) + 1) * .5F;
// lookAtTargetReward =
// Mathf.Exp(-0.1f * (cubeForward * walkingSpeed -
// m_JdController.bodyPartsDict[hips].rb.velocity).sqrMagnitude);

正在加载...
取消
保存