6 #ifndef CNOID_BODY_FORWARD_DYNAMICS_ABM_H
7 #define CNOID_BODY_FORWARD_DYNAMICS_ABM_H
10 #include "exportdecl.h"
20 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
25 virtual void initialize();
26 virtual void calcNextState();
27 virtual void refreshState();
31 void calcMotionWithEulerMethod();
32 void integrateRungeKuttaOneStep(
double r,
double dt);
33 void calcMotionWithRungeKuttaMethod();
38 void calcABMPhase1(
bool updateNonSpatialVariables);
44 void calcABMPhase2Part1();
45 void calcABMPhase2Part2();
52 inline void calcABMFirstHalf();
53 inline void calcABMLastHalf();
55 void updateForceSensors();
61 std::vector<double> q0;
62 std::vector<double> dq0;
68 std::vector<double> dq;
69 std::vector<double> ddq;