change scene times
This commit is contained in:
parent
077392f6a7
commit
9709555b98
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ import numpy as np #pip install numpy
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
scenetimes=[0,20,60,70,120,150,500] #definition of times . Last value will be overwritten by last time of csv file
|
scenetimes=[0,20,60,70,150,220,500] #definition of times . Last value will be overwritten by last time of csv file
|
||||||
#scenetimes=[0,2,4,5,6,10,300] #definition of times FASTER FOR TESTING
|
#scenetimes=[0,2,4,5,6,10,300] #definition of times FASTER FOR TESTING
|
||||||
scenes =[0,1, 0, 2, 0, 3, -1] #definition of scenes. scene -1 will end the program
|
scenes =[0,1, 0, 2, 0, 3, -1] #definition of scenes. scene -1 will end the program
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ def init():
|
||||||
#########
|
#########
|
||||||
|
|
||||||
csvlist=None
|
csvlist=None
|
||||||
with open('heart_cluster_max.csv', newline='') as csvfile:
|
with open('heart_cluster_max.csv', newline='') as csvfile: #check if file name is correct and in same dir. Maybe network drive?
|
||||||
csvreader = csv.reader(csvfile, delimiter=',', quotechar='|')
|
csvreader = csv.reader(csvfile, delimiter=',', quotechar='|')
|
||||||
csvlist = list(csvreader)
|
csvlist = list(csvreader)
|
||||||
'''for row in csvreader:
|
'''for row in csvreader:
|
||||||
|
@ -247,4 +247,4 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
res=True
|
res=True
|
||||||
while res:
|
while res:
|
||||||
res=update(time.time())
|
res=update(time.time())
|
Loading…
Reference in a new issue