summaryrefslogtreecommitdiff
path: root/MuscleEMGProfile.cpp
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2012-12-05 21:14:14 +0100
committerTobias Klauser <tklauser@distanz.ch>2012-12-05 21:14:14 +0100
commitad6a598de4025321a5227edf2a676c0f3397927c (patch)
tree0f17b56ca26f13f7f3c36a7204295865b2c280a5 /MuscleEMGProfile.cpp
parentedb2cdf6b9fc0c94cce910c9d488e69200402c57 (diff)
Basic infrastructure to read muscle activation profiles from CSV
Diffstat (limited to 'MuscleEMGProfile.cpp')
-rw-r--r--MuscleEMGProfile.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/MuscleEMGProfile.cpp b/MuscleEMGProfile.cpp
new file mode 100644
index 0000000..b1b4977
--- /dev/null
+++ b/MuscleEMGProfile.cpp
@@ -0,0 +1,7 @@
+#include "MuscleEMGProfile.h"
+
+void MuscleEMGProfile::addData(double x, double y)
+{
+ _x.push_back(x);
+ _y.push_back(y);
+} \ No newline at end of file