4 #include <platform/InterpolatedMovingPlatform.h>
61 std::function<void(
void)> simulationFunction = [] (void) ->
void {};
78 vector<string>({
"t",
"x",
"y",
"z"})
85 InterpolatedMovingPlatform::InterpolationScope::POSITION,
91 arma::Mat<double> impE(
106 for(
size_t i = 0 ; i < impE.n_rows ; ++i){
111 arma::Col<double> impPos(3);
112 impPos[0] = _impPos.x; impPos[1] = _impPos.y; impPos[2] = _impPos.z;
113 if(arma::any((impPos-impE.row(i).as_col()) >
eps))
return false;
BaseTest class.
Definition: BaseTest.h:20
void nextStep() override
Advances to current loop iteration without cyclic behavior.
Definition: LinearVoidStepLoop.h:48
Class extending LinearVoidStepLoop to support main simulation loop.
Definition: SimulationStepLoop.h:15
void setFrequency(std::size_t const frequency)
Definition: SimulationStepLoop.h:46
double getCurrentTime() const
Obtain the virtual time (simulation time) that elapsed to reach current step.
Definition: SimulationStepLoop.h:67
The heart of a differential design matrix is the idea that the columns are defining the values of var...
Definition: DiffDesignMatrix.h:169
This class represents a DesignMatrix where each row satisfy that its elements can be placed into a co...
Definition: TemporalDesignMatrix.h:74
DiffDesignMatrix< TimeType, VarType > toDiffDesignMatrix(DiffDesignMatrixType diffType=DiffDesignMatrixType::FORWARD_FINITE_DIFFERENCES, bool const sort=true) const
Build a DiffDesignMatrix from the TemporalDesignMatrix.