16 #include <dynamic-graph/linear-algebra.h> 20 #include <dynamic-graph/signal-time-dependent.h> 21 #include <dynamic-graph/signal-ptr.h> 22 #include <dynamic-graph/entity.h> 30 # if defined (Upsampler_EXPORTS) 31 # define Upsampler_EXPORTS __declspec(dllexport) 33 # define Upsampler_EXPORTS __declspec(dllimport) 36 # define Upsampler_EXPORTS 52 class Upsampler_EXPORTS
Upsampler:
public dg::Entity
58 void init(
const int& upsampling_factor);
60 static const std::string CLASS_NAME;
61 virtual const std::string& getClassName(
void )
const {
return CLASS_NAME;}
63 dg::SignalPtr<dg::Vector,int> data_inputSIN;
64 dg::SignalTimeDependent<dg::Vector,int> data_outSOUT;
66 dg::Vector& data_out_callback(dg::Vector& history,
int time);
69 int upsampling_factor_;
71 dg::Vector last_input_;
Definition: ComImpedanceController.hpp:31