[chronojump] Fixed RaceAnalyzer: at capture: fix return on sprintEncoder.R (at least on analyze)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed RaceAnalyzer: at capture: fix return on sprintEncoder.R (at least on analyze)
- Date: Wed, 20 Jul 2022 07:33:33 +0000 (UTC)
commit cf5b2197e7b5a0416b70582f1207b98f2a017d9b
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jul 20 09:32:55 2022 +0200
Fixed RaceAnalyzer: at capture: fix return on sprintEncoder.R (at least on analyze)
r-scripts/sprintEncoder.R | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/r-scripts/sprintEncoder.R b/r-scripts/sprintEncoder.R
index 04d9e3886..d063548b1 100644
--- a/r-scripts/sprintEncoder.R
+++ b/r-scripts/sprintEncoder.R
@@ -191,7 +191,7 @@ getSprintFromEncoder <- function(filename, testLength, Mass, Temperature = 25, H
text(x = length(position)/2, y = max(position)/4,
labels = "or does not seem a sprint", cex = 2, pos = 3)
print("Capture has not enough accel")
- return("Capture has not enough accel")
+ return(list(longEnough = longEnough, regressionDone = FALSE))
}
#Zeroing time to the initial acceleration sample
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]