Compare commits

..

No commits in common. "aacfa61cdb74fbd9010cc2018b8bfd18f5568fbc" and "7f1bce10a9918a7061bf95f2c2330f59a73031e7" have entirely different histories.

2 changed files with 2 additions and 20 deletions

View file

@ -93,8 +93,8 @@ for chunk in stream.iter_content(chunk_size=1024):
x = x - 160 x = x - 160
wp = 1 wp = 0.8
wd = 0 wd = 0.4
wi = 0 wi = 0
mri = 0.25 mri = 0.25

18
test.py
View file

@ -1,18 +0,0 @@
import time
from datetime import datetime
# t1 = datetime.now()
# time.sleep(1.345345)
# t2 = datetime.now()
# dtmicro=t2-t1
# dtms = dtmicro.seconds * 1000 + dtmicro.microseconds//1000
tprev = datetime.now()
# while True:
tnow = datetime.now()
dtmicro = tnow - tprev
# dtms = dtmicro.seconds * 1000 + dtmicro.microseconds // 1000
dtms = dtmicro.microseconds
print(tnow, tprev, dtms)
tprev = tnow