src/auto/Autonomous.java
public void replay()
    {
        boolean m_bDoneReplay = m_replayer.replay(m_sFileName);
        
        if(!m_bDoneReplay && !overTimeLimit(m_replayer.getReplayTime()))
            m_sAutonmousStatus = "Rep: " + m_replayer.getReplayTime();
        
        else if(overTimeLimit(m_replayer.getReplayTime()))
        {
            Output.println(Config.IdAutonomous, "Replay Timeout");
            m_replayer.stop();
            m_sAutonmousStatus = "Replay Timeout";
        }
        
        else
        {
            Output.println(Config.IdAutonomous, "Finished Replaying");
            m_joy.setSwitch(Config.btReplay, false);
            m_sAutonmousStatus = "Done";
        }
    }
/**
     * Replays previous bot movements from specified file.
     */
Replays previous bot movements from specified file.
Replays previous bot movements from specified file .
public void replay()
    {
        boolean m_bDoneReplay = m_replayer.replay(m_sFileName);
        if(!m_bDoneReplay && !overTimeLimit(m_replayer.getReplayTime()))
            m_sAutonmousStatus = "Rep: " + m_replayer.getReplayTime();
        else if(overTimeLimit(m_replayer.getReplayTime()))
        {
            Output.println(Config.IdAutonomous, "Replay Timeout");
            m_replayer.stop();
            m_sAutonmousStatus = "Replay Timeout";
        }
        else
        {
            Output.println(Config.IdAutonomous, "Finished Replaying");
            m_joy.setSwitch(Config.btReplay, false);
            m_sAutonmousStatus = "Done";
        }
    }
public void replay ( ) { boolean m_bDoneReplay = m_replayer . replay ( m_sFileName ) ; if ( ! m_bDoneReplay && ! overTimeLimit ( m_replayer . getReplayTime ( ) ) ) m_sAutonmousStatus = "Rep: " + m_replayer . getReplayTime ( ) ; else if ( overTimeLimit ( m_replayer . getReplayTime ( ) ) ) { Output . println ( Config . IdAutonomous , "Replay Timeout" ) ; m_replayer . stop ( ) ; m_sAutonmousStatus = "Replay Timeout" ; } else { Output . println ( Config . IdAutonomous , "Finished Replaying" ) ; m_joy . setSwitch ( Config . btReplay , false ) ; m_sAutonmousStatus = "Done" ; } }
Replays previous bot movements from specified file.
Replays previous bot movements from specified file .