diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2012-12-10 07:06:08 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2012-12-10 07:06:44 +0100 |
commit | d01cf2ea580d9411140bd7dec539c6ae7a8a39cd (patch) | |
tree | ece0ee3dd1523dfd845928532acc3954cc26c65d /LocomotorPrimitives.cpp | |
parent | 2509179d785edca3778ff3068693b99c635d80f7 (diff) |
Read muscle activation from .sto
Diffstat (limited to 'LocomotorPrimitives.cpp')
-rw-r--r-- | LocomotorPrimitives.cpp | 4 |
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); |