10 #include <dynamic-graph/factory.h> 24 footHeight(FOOT_HEIGHT_DEFAULT),
26 NULL,
"sotZmprefFromCom(" + name +
")::input(MatrixHomo)::waist"),
28 "sotZmprefFromCom(" + name +
")::input(Vector)::com"),
29 dcomSIN(NULL,
"sotZmprefFromCom(" + name +
")::input(Vector)::dcom"),
31 waistPositionSIN << comPositionSIN << dcomSIN,
32 "sotZmprefFromCom(" + name +
")::output(RPY)::zmpref") {
67 res = wTo.matrix() * nextComRef;
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
dg::SignalPtr< MatrixHomogeneous, int > waistPositionSIN
void signalRegistration(const SignalArray< int > &signals)
#define sotDEBUGOUT(level)
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(Latch, "Latch")
dg::SignalTimeDependent< dynamicgraph::Vector, int > zmprefSOUT
#define sotDEBUGIN(level)
dg::SignalPtr< dynamicgraph::Vector, int > dcomSIN
dynamicgraph::Vector & computeZmpref(dynamicgraph::Vector &res, const int &time)
static const double DT_DEFAULT
ZmprefFromCom(const std::string &name)
static const double FOOT_HEIGHT_DEFAULT
virtual ~ZmprefFromCom(void)
dg::SignalPtr< dynamicgraph::Vector, int > comPositionSIN