integrator-euler.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2010,
3  * François Bleibel,
4  * Olivier Stasse,
5  *
6  * CNRS/AIST
7  *
8  */
9 
12 
13 #include "integrator-euler.t.cpp"
14 
15 #ifdef WIN32
16 IntegratorEulerVectorMatrix::IntegratorEulerVectorMatrix(
17  const std::string &name)
18  : IntegratorEuler<Vector, Matrix>(name) {}
19 std::string IntegratorEulerVectorMatrix::getTypeName(void) {
20  return "IntegratorEulerVectorMatrix";
21 }
22 
23 IntegratorEulerVectorDouble::IntegratorEulerVectorDouble(
24  const std::string &name)
25  : IntegratorEuler<Vector, double>(name) {}
26 std::string IntegratorEulerVectorDouble::getTypeName(void) {
27  return "IntegratorEulerVectorDouble";
28 }
29 #endif // WIN32
Eigen::VectorXd Vector
integrates an ODE using a naive Euler integration. TODO: change the integration method. For the moment, the highest derivative of the output signal is computed using the previous values of the other derivatives and the input signal, then integrated n times, which will most certainly induce a huge drift for ODEs with a high order at the denominator.
Eigen::MatrixXd Matrix


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26