summaryrefslogtreecommitdiff
path: root/LocomotorPrimitivesManager.cpp
blob: eb267e2b890b96cbfbf5e89376492d6728f296f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <OpenSim/OpenSim.h>

#include "LocomotorPrimitivesManager.h"

bool LocomotorPrimitivesManager::doIntegration(SimTK::State &s, int step, double dtFirst)
{
	// TODO possibly additional calculations
	std::cout << "==> doIntegration" << std::endl;
	return OpenSim::Manager::doIntegration(s, step, dtFirst);
}

bool LocomotorPrimitivesManager::integrate(SimTK::State &s, double dtFirst)
{
	int step = 0;

	std::cout << "==> integrate" << std::endl;

	s.setTime(getInitialTime());

	return doIntegration(s, step, dtFirst);
}