UnitySDK/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs
/// <summary>
/// Only change the joint settings based on decision frequency.
/// </summary>
Only change the joint settings based on decision frequency.
Only change the joint settings based on decision frequency .
public void IncrementDecisionTimer()
    {
        if (m_CurrentDecisionStep == agentParameters.numberOfActionsBetweenDecisions ||
            agentParameters.numberOfActionsBetweenDecisions == 1)
        {
            m_CurrentDecisionStep = 1;
            m_IsNewDecisionStep = true;
        }
        else
        {
            m_CurrentDecisionStep++;
            m_IsNewDecisionStep = false;
        }
    }
public void IncrementDecisionTimer ( ) { if ( m_CurrentDecisionStep == agentParameters . numberOfActionsBetweenDecisions || agentParameters . numberOfActionsBetweenDecisions == 1 ) { m_CurrentDecisionStep = 1 ; m_IsNewDecisionStep = true ; } else { m_CurrentDecisionStep ++ ; m_IsNewDecisionStep = false ; } }
Only change the joint settings based on decision frequency.
Only change the joint settings based on decision frequency .