set default autonomous for CompetitionCode.
added debug code in CompetitionCode.