Permalink
Browse files

corrected rotation speed parameter

  • Loading branch information...
1 parent f560f4f commit 1229683aa26ccdfc2d0f1bdfdf71790740739280 @bahniks committed Aug 12, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 Stuff/Modules/cm.py
  2. +1 −1 Stuff/Modules/version.py
View
@@ -1180,7 +1180,7 @@ def getRotationSpeed(self, time = 20, startTime = 0, rows = 25):
ax0, ay0, t0, rx0, ry0 = ax1, ay1, t1, rx1, ry1
if speeds:
- return format(sum(speeds) / len(speeds), "0.1f")
+ return format(median(speeds), "0.1f")
else:
return "NA"
View
@@ -21,7 +21,7 @@ def version():
return ['0', '4', '0']
def date():
- return "10 August 2014"
+ return "12 August 2014"
def copyleft():
return "2013, 2014"

0 comments on commit 1229683

Please sign in to comment.