10 #include <dynamic-graph/factory.h> 23 m_previousPGInProcess(false),
27 CoMRefSIN(NULL,
"CoMFreezer(" + name +
")::input(vector)::CoMRef"),
29 "CoMFreezer(" + name +
")::input(bool)::PGInProcess"),
30 freezedCoMSOUT(
boost::bind(&
CoMFreezer::computeFreezedCoM, this, _1, _2),
31 CoMRefSIN << PGInProcessSIN,
32 "CoMFreezer(" + name +
")::output(vector)::freezedCoM") {
82 os <<
"CoMFreezer " <<
getName() <<
"." << std::endl;
dynamicgraph::Vector m_lastCoM
dynamicgraph::SignalPtr< unsigned, int > PGInProcessSIN
void signalRegistration(const SignalArray< int > &signals)
#define sotDEBUGOUT(level)
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(FeaturePosture, "FeaturePosture")
CoMFreezer(const std::string &name)
#define sotDEBUGIN(level)
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > freezedCoMSOUT
virtual void display(std::ostream &os) const
virtual ~CoMFreezer(void)
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > CoMRefSIN
const std::string & getName() const
bool m_previousPGInProcess
dynamicgraph::Vector & computeFreezedCoM(dynamicgraph::Vector &freezedCoM, const int &time)