[chronojump] TODO: RaceAnalyzer hardcoded calibration
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] TODO: RaceAnalyzer hardcoded calibration
- Date: Fri, 15 Mar 2019 18:41:54 +0000 (UTC)
commit f95c8fd089cc8e9baa7140ebd2bd4c8b61cd5169
Author: Xavier Padullés <x padulles gmail com>
Date: Fri Mar 15 17:27:53 2019 +0100
TODO: RaceAnalyzer hardcoded calibration
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 41b1551f..c3ad294d 100644
--- a/r-scripts/sprintEncoder.R
+++ b/r-scripts/sprintEncoder.R
@@ -61,7 +61,7 @@ getSprintFromEncoder <- function(filename, testLength, Mass, Temperature = 25, H
encoderCarrera = read.csv2(file = filename, sep = ";")
colnames(encoderCarrera) = c("displacement", "time", "force")
- encoderCarrera$force = encoderCarrera$force * 0.140142 /2
+ encoderCarrera$force = encoderCarrera$force * 0.140142 /2 #TODO: Implement the calibration factor
comming from the arduino
totalTime = encoderCarrera$time/1E6 #Converting microseconds to seconds
elapsedTime = diff(c(0,totalTime)) #The elapsed time between each sample
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]