[chronojump] Starting Butterworth stuff
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Starting Butterworth stuff
- Date: Tue, 17 Jan 2017 17:16:43 +0000 (UTC)
commit d89f31704d19c421833af6ec8cb70774634b1969
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Jan 17 18:15:54 2017 +0100
Starting Butterworth stuff
ButterworthFiltering/kinoveaCode.txt | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/ButterworthFiltering/kinoveaCode.txt b/ButterworthFiltering/kinoveaCode.txt
new file mode 100644
index 0000000..e3456a6
--- /dev/null
+++ b/ButterworthFiltering/kinoveaCode.txt
@@ -0,0 +1,21 @@
+Relevant Kinovea code is here:
+https://github.com/jfpk/kinoveaIDS/tree/master/Kinovea.ScreenManager/Measurement/Kinematics
+
+Measurement/Tracking/DrawingTrack.cs
+creates kinematicsHelper:
+private KinematicsHelper kinematicsHelper = new KinematicsHelper();
+
+And then performs the calculations:
+samples will be data coming from encoder
+AnalyzeTrajectory will be position filtered
+
+public void UpdateKinematics()
+{
+ List<TimedPoint> samples = positions.Select(p => new TimedPoint(p.X, p.Y, p.T)).ToList();
+ trajectoryKinematics = kinematicsHelper.AnalyzeTrajectory(samples, parentMetadata.CalibrationHelper);
+}
+
+TODO:
+- Compile relevant code in Kinovea Linux
+- create samples from encoder data
+- compare trajectoryKinematics with R encoder stuff on Chronojump
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]