code: def decodeMotorInput(self, motorInputPattern):
      
      key = self.motorEncoder.decode(motorInputPattern)[0].keys()[0]
      motorCommand = self.motorEncoder.decode(motorInputPattern)[0][key][1][0]
      return motorCommand
docs: Decode motor command from bit vector.
  
      @param motorInputPattern (1D numpy.array)
          Encoded motor command.
  
      @return                  (1D numpy.array)
          Decoded motor command.