Esempio n. 1
0
    def _analyzeTeams(self):
        # Loop over the # of teams and run each of the analysis functions calling _insertAnalysis after each one is run
        for team in self.rsRobots:
            rsRobotMatches = self._getTeamData(team)

            if rsRobotMatches:
                # autonomous
                rsCEA = autonomous(analysis=self,
                                   rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                # lostComm
                rsCEA = lostComm(analysis=self, rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                # startingPosition
                rsCEA = startingPosition(analysis=self,
                                         rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                # totalBalls
                rsCEA = totalBalls(analysis=self,
                                   rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                # totalScore
                rsCEA = totalScore(analysis=self,
                                   rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)
Esempio n. 2
0
    def _analyzeTeams(self):
        # Loop over the # of teams and run each of the analysis functions calling _insertAnalysis after each one is run
        for team in self.rsRobots:
            # print(team)
            rsRobotMatches = self._getTeamData(team)
            # print(rsRobotMatches)

            if rsRobotMatches:
                rsCEA = autonomous(analysis=self,
                                   rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = ballSummary(analysis=self,
                                    rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = brokeDown(analysis=self, rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = climb(analysis=self, rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = groundPickup(analysis=self,
                                     rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = hopperLoad(analysis=self,
                                   rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = lostComm(analysis=self, rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = matchVideos(analysis=self,
                                    rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = playedDefense(analysis=self,
                                      rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = startingPosition(analysis=self,
                                         rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = subSBroke(analysis=self, rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = totalBalls(analysis=self,
                                   rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = totalInnerBalls(analysis=self,
                                        rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = totalLowBalls(analysis=self,
                                      rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = totalOuterBalls(analysis=self,
                                        rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = totalScore(analysis=self,
                                   rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = totalUpperBalls(analysis=self,
                                        rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = wheelStage2(analysis=self,
                                    rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)

                rsCEA = wheelStage3(analysis=self,
                                    rsRobotMatches=rsRobotMatches)
                self._insertAnalysis(rsCEA)