src/auto/Autonomous.java
private void record()
    {
        m_recorder.record(m_sFileName);
        
        if(m_sFileName.equalsIgnoreCase(m_sRegOutput) || (m_joy.getSwitch(Config.btAllowEdit) && !overTimeLimit(m_recorder.getRecordTime())))
            m_sAutonmousStatus = "Rec: " + m_recorder.getRecordTime();
        
        else if(overTimeLimit(m_recorder.getRecordTime()))
        {
            m_recorder.stop();
            m_sAutonmousStatus = "Record Timeout";
        }
        
        else if(!m_joy.getSwitch(Config.btAllowEdit))
            m_sAutonmousStatus = "Can't Edit";
    }
/**
     * Records bots movements to specified file, if allowed.
     */
Records bots movements to specified file, if allowed.
Records bots movements to specified file if allowed .
private void record()
    {
        m_recorder.record(m_sFileName);
        if(m_sFileName.equalsIgnoreCase(m_sRegOutput) || (m_joy.getSwitch(Config.btAllowEdit) && !overTimeLimit(m_recorder.getRecordTime())))
            m_sAutonmousStatus = "Rec: " + m_recorder.getRecordTime();
        else if(overTimeLimit(m_recorder.getRecordTime()))
        {
            m_recorder.stop();
            m_sAutonmousStatus = "Record Timeout";
        }
        else if(!m_joy.getSwitch(Config.btAllowEdit))
            m_sAutonmousStatus = "Can't Edit";
    }
private void record ( ) { m_recorder . record ( m_sFileName ) ; if ( m_sFileName . equalsIgnoreCase ( m_sRegOutput ) || ( m_joy . getSwitch ( Config . btAllowEdit ) && ! overTimeLimit ( m_recorder . getRecordTime ( ) ) ) ) m_sAutonmousStatus = "Rec: " + m_recorder . getRecordTime ( ) ; else if ( overTimeLimit ( m_recorder . getRecordTime ( ) ) ) { m_recorder . stop ( ) ; m_sAutonmousStatus = "Record Timeout" ; } else if ( ! m_joy . getSwitch ( Config . btAllowEdit ) ) m_sAutonmousStatus = "Can't Edit" ; }
Records bots movements to specified file, if allowed.
Records bots movements to specified file if allowed .