Rev 552 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 552 | Rev 553 | ||
---|---|---|---|
Line 142... | Line 142... | ||
142 | for channel in parChannels: |
142 | for channel in parChannels: |
143 | channelName = CHANNEL_NAMES[channel] |
143 | channelName = CHANNEL_NAMES[channel] |
144 | if parVerbose: |
144 | if parVerbose: |
145 | print "Getting data... " , |
145 | print "Getting data... " , |
146 | data = mk.doVibrationTest(motorSpeeds, parNbSamples, channel) |
146 | data = mk.doVibrationTest(motorSpeeds, parNbSamples, channel) |
147 | minval = min(data) |
147 | minval = min(data[1:]) |
148 | maxval = max(data) |
148 | maxval = max(data[1:]) |
149 | if (maxval-minval)>100: print data |
149 | if (maxval-minval)>100: print data |
150 | msg = mk.getDebugMsg() |
150 | msg = mk.getDebugMsg() |
151 | voltage = msg.getVoltage() |
151 | voltage = msg.getVoltage() |
Line 152... | Line 152... | ||
152 | 152 |