summaryrefslogtreecommitdiff
path: root/LocomotorPrimitivesManager.h
diff options
context:
space:
mode:
authorTobias Klauser <tobias.klauser@uzh.ch>2013-01-29 14:52:31 +0100
committerTobias Klauser <tobias.klauser@uzh.ch>2013-01-29 14:52:31 +0100
commite953e9ac75341b928ae89861ce38f7bba0d8b911 (patch)
treebab110f1efe97a94ff8a0f84af4c2bac004273b5 /LocomotorPrimitivesManager.h
parentdc42304b0778a10b9639253523b82f615a358dfa (diff)
LocomotorPrimitives: Implement signal handling
This way we can still write result files if the simulation is interrupted.
Diffstat (limited to 'LocomotorPrimitivesManager.h')
-rw-r--r--LocomotorPrimitivesManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/LocomotorPrimitivesManager.h b/LocomotorPrimitivesManager.h
index 2bd6e3d..f58dd17 100644
--- a/LocomotorPrimitivesManager.h
+++ b/LocomotorPrimitivesManager.h
@@ -8,7 +8,8 @@ class LocomotorPrimitivesManager : public OpenSim::Manager
public:
LocomotorPrimitivesManager(OpenSim::Model &model, SimTK::Integrator &integrator)
: OpenSim::Manager(model, integrator) { }
+ bool integrate(SimTK::State &s, double dtFirst=1.0e-6);
bool doIntegration(SimTK::State &s, int step, double dtFirst);
};
-#endif /* LOCOMOTORPRIMITIVES_MANAGER_H_ */ \ No newline at end of file
+#endif /* LOCOMOTORPRIMITIVES_MANAGER_H_ */