Subversion Repositories Projects

Rev

Rev 563 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 563 Rev 610
Line 257... Line 257...
257
        self.sendLn(msg.generateMsg())
257
        self.sendLn(msg.generateMsg())
Line 258... Line 258...
258
       
258
       
259
    def doVibrationTest(self, motorSpeeds, nbSamples, channel):
259
    def doVibrationTest(self, motorSpeeds, nbSamples, channel):
260
        data = []
260
        data = []
261
        for i in range(0,(min(nbSamples,1000)/50)):
261
        for i in range(0,(min(nbSamples,1000)/50)):
262
          self.setMotorTest(motorSpeeds)
262
          #self.setMotorTest(motorSpeeds)
263
          time.sleep(0.05)
263
          time.sleep(0.05)
264
          #print i 
264
          #print i 
265
          msg = MkMsg(address=MkComm.FCADDRESS, cmd='f', data=[channel, i])
265
          msg = MkMsg(address=MkComm.FCADDRESS, cmd='f', data=[channel, i])
266
          self.sendLn(msg.generateMsg())
266
          self.sendLn(msg.generateMsg())