From e953e9ac75341b928ae89861ce38f7bba0d8b911 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 29 Jan 2013 14:52:31 +0100 Subject: LocomotorPrimitives: Implement signal handling This way we can still write result files if the simulation is interrupted. --- LocomotorPrimitivesManager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LocomotorPrimitivesManager.h') 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_ */ -- cgit v1.2.3-54-g00ecf