summaryrefslogtreecommitdiff
path: root/LocomotorPrimitives.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LocomotorPrimitives.cpp')
-rw-r--r--LocomotorPrimitives.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/LocomotorPrimitives.cpp b/LocomotorPrimitives.cpp
index af1983a..0de339f 100644
--- a/LocomotorPrimitives.cpp
+++ b/LocomotorPrimitives.cpp
@@ -23,8 +23,8 @@ static void constructModel(OpenSim::Model &model)
std::cout << "Constructing " << MODEL_NAME << " model" << std::endl;
// Define controller for the model
- LocomotorPrimitivesController *control = new LocomotorPrimitivesController(0.01);
- control->loadCsvData("es_r", "../../data/adults_es_r.csv");
+ OpenSim::Storage actData("../../data/adults.sto");
+ LocomotorPrimitivesController *control = new LocomotorPrimitivesController(actData, 0.01);
control->setActuators(model.updActuators());
model.addController(control);