31 #ifndef SOT_DYNAMIC_PINOCCHIO_INTEGRATOR_HH 32 #define SOT_DYNAMIC_PINOCCHIO_INTEGRATOR_HH 34 #include <pinocchio/algorithm/joint-configuration.hpp> 35 #include <sot/core/config.hh> 36 #include <dynamic-graph/entity.h> 37 #include <dynamic-graph/signal.h> 51 boost::function2<Vector &, Vector &, int>
Tfunction;
57 #ifdef HAVE_LIBBOOST_THREAD 58 typedef boost::try_mutex
Mutex;
78 virtual void get(std::ostream &
value)
const;
79 virtual void set(std::istringstream &
value);
80 virtual void trace(std::ostream &os)
const;
86 virtual void setFunction(boost::function2<Vector &, Vector &, int> t,
87 Mutex *mutexref = NULL);
94 virtual std::ostream &
display(std::ostream &os)
const;
101 aClassName =
typeid(
this).
name();
115 static const double dt;
117 virtual const std::string &
getClassName(
void)
const {
return CLASS_NAME; }
125 void setInitialConfig(
const Vector &initConfig);
147 #endif // SOT_DYNAMIC_PINOCCHIO_INTEGRATOR_HH
PeriodicCall & periodicCallBefore()
void integrate(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType > &v, const Eigen::MatrixBase< ReturnType > &qout)
static const SignalType SIGNAL_TYPE_DEFAULT
virtual void setReference(const Vector *t, Mutex *mutexref=NULL)
internal::Signal configurationSOUT_
::pinocchio::Model * model_
virtual void setConstant(const Vector &t)
PeriodicCall & periodicCallAfter()
PeriodicCall periodicCallBefore_
virtual void setReferenceNonConstant(Vector *t, Mutex *mutexref=NULL)
virtual const Vector & accessCopy() const
virtual void setFunction(boost::function2< Vector &, Vector &, int > t, Mutex *mutexref=NULL)
PeriodicCall periodicCallAfter_
Vector * TreferenceNonConst
SignalPtr< Vector, int > velocitySIN_
virtual const std::string & getClassName(void) const
virtual std::ostream & display(std::ostream &os) const
const Vector * Treference
boost::function2< Vector &, Vector &, int > Tfunction
static const bool KEEP_REFERENCE_DEFAULT
virtual Signal & operator=(const Vector &t)
virtual void trace(std::ostream &os) const
virtual const Vector & operator()(const int &t)
virtual void recompute(const int &t)
virtual const Vector & access(const int &t)
virtual void getClassName(std::string &aClassName) const
static const std::string CLASS_NAME