[chronojump/michrolab] Fixed RaceAnalyzer: at capture: fix return on sprintEncoder.R (at least on analyze)
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/michrolab] Fixed RaceAnalyzer: at capture: fix return on sprintEncoder.R (at least on analyze)
- Date: Fri, 5 Aug 2022 09:19:42 +0000 (UTC)
commit 6b93195e01762d9bc58a64b2aad37a3c5ac2cd53
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]