浏览代码

make the Ball3DDecision code's comment less than 80 characters in length

/develop-generalizationTraining-TrainerController
Vincent Gao 6 年前
当前提交
a32ff913
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 10
      unity-environment/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DDecision.cs

10
unity-environment/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DDecision.cs


if (gameObject.GetComponent<Brain>().brainParameters.vectorActionSpaceType == StateType.continuous)
{
List<float> act = new List<float>();
// state[5] is the velocity of the ball in the x orientation. We use this number to control the Platform's z axis rotation speed,
// state[5] is the velocity of the ball in the x orientation.
// We use this number to control the Platform's z axis rotation speed,
// state[7] is the velocity of the ball in the z orientation. We use this number to control the Platform's x axis rotation speed,
// state[7] is the velocity of the ball in the z orientation.
// We use this number to control the Platform's x axis rotation speed,
// If the vector action space type is discrete, then we don't do anything.
else
{

正在加载...
取消
保存