This commit is contained in:
2017-07-21 13:41:25 +02:00
parent e2b8a468be
commit a85b6114c1
8 changed files with 29 additions and 7 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
#Thu Nov 19 14:25:26 CET 2015
#Fri Jul 21 13:41:15 CEST 2017
defaultSpeed=1.0
estbilizationDelay=0
hasEnable=false
@@ -10,5 +10,6 @@ minValue=-5.80125
offset=0.0
precision=5
resolution=0.00125
rotation=false
scale=1.0
unit=mm
+2 -1
View File
@@ -1,4 +1,4 @@
#Thu Nov 26 14:08:13 CET 2015
#Fri Jul 21 13:41:15 CEST 2017
defaultSpeed=1.0
estbilizationDelay=0
hasEnable=false
@@ -10,5 +10,6 @@ minValue=-7.0
offset=0.0
precision=5
resolution=0.00125
rotation=false
scale=1.0
unit=mm
+2 -1
View File
@@ -1,4 +1,4 @@
#Thu Nov 26 14:08:13 CET 2015
#Fri Jul 21 13:41:15 CEST 2017
defaultSpeed=1.0
estbilizationDelay=0
hasEnable=false
@@ -10,5 +10,6 @@ minValue=-24.8825
offset=0.0
precision=5
resolution=0.0025
rotation=false
scale=1.0
unit=mm
+2 -1
View File
@@ -1,4 +1,4 @@
#Thu Nov 26 14:08:13 CET 2015
#Fri Jul 21 13:41:15 CEST 2017
defaultSpeed=0.3
estbilizationDelay=0
hasEnable=false
@@ -10,5 +10,6 @@ minValue=-10.995509179999999
offset=0.0
precision=5
resolution=1.8E-4
rotation=false
scale=1.0
unit=mm
+2 -1
View File
@@ -1,4 +1,4 @@
#Thu Nov 19 14:50:56 CET 2015
#Fri Jul 21 13:41:15 CEST 2017
defaultSpeed=1.0
estbilizationDelay=0
hasEnable=true
@@ -10,5 +10,6 @@ minValue=-5.80125
offset=0.0
precision=5
resolution=0.00125
rotation=false
scale=1.0
unit=mm
+2 -1
View File
@@ -1,4 +1,4 @@
#Thu Nov 26 14:08:14 CET 2015
#Fri Jul 21 13:41:15 CEST 2017
defaultSpeed=1.0
estbilizationDelay=0
hasEnable=false
@@ -10,5 +10,6 @@ minValue=-27.535
offset=0.0
precision=5
resolution=0.0025
rotation=false
scale=1.0
unit=mm
+2 -1
View File
@@ -1,4 +1,4 @@
#Thu Nov 19 14:25:26 CET 2015
#Fri Jul 21 13:41:15 CEST 2017
defaultSpeed=1.0
estbilizationDelay=0
maxSpeed=10.0
@@ -8,5 +8,6 @@ minValue=-10.0
offset=0.0
precision=2
resolution=NaN
rotation=false
scale=1.0
unit=mm
+15
View File
@@ -0,0 +1,15 @@
#rel_x = pico_bpm6_new_x.read()
rel_x = pico_bpm6_ts_x.read()
class SensorXAxis(ReadableArray):
def __init__(self, sensor):
self.sensor = sensor
def read(self):
return [x + self.sensor.getTimestamp() for x in rel_x]
def getSize(self):
return len(rel_x) #only reads if cache is None
x_axis = SensorXAxis(pico_bpm6_ts_sumall)
plot(x_axis.read())