25 #ifndef SRC_SYSTEMS_INCLUDE_CORBO_SYSTEMS_TIME_VALUE_BUFFER_H_ 26 #define SRC_SYSTEMS_INCLUDE_CORBO_SYSTEMS_TIME_VALUE_BUFFER_H_ 74 void getValues(
double ts,
double dt, std::vector<std::pair<double, Eigen::VectorXd>>& useq_out);
90 std::vector<std::pair<double, Eigen::VectorXd>>
_ucache;
95 #endif // SRC_SYSTEMS_INCLUDE_CORBO_SYSTEMS_TIME_VALUE_BUFFER_H_ void appendValues(double t, const Eigen::Ref< const Eigen::VectorXd > &u)
Time Delay Object for Piecewise-Constant Signals.
TimeValueBuffer()=default
Default constructor.
void reset()
Reset internal buffer.
A matrix or vector expression mapping an existing expression.
std::vector< std::pair< double, Eigen::VectorXd > > _ucache
void getValues(double ts, double dt, std::vector< std::pair< double, Eigen::VectorXd >> &useq_out)
Compute the delayed values.
void setInitialValue(const Eigen::Ref< const Eigen::VectorXd > &uinit)
Specify initial value.