12 #include <dynamic-graph/factory.h> 18 "CubicInterpolationSE3");
21 soutSOUT_(
"CubicInterpolationSE3(" + name +
22 ")::output(MatrixHomo)::sout"),
23 soutdotSOUT_(
"CubicInterpolationSE3(" + name +
24 ")::output(vector)::soutdot"),
26 "CubicInterpolationSE3(" + name +
")::input(MatrixHomo)::init"),
28 "CubicInterpolationSE3(" + name +
")::input(MatrixHomo)::goal"),
47 std::string docstring;
50 " Set sampling period of control discretization.\n" 53 " - a floating point value.\n" 63 " - duration of the motion.\n" 65 "\n Read init and goal signals, compute output trajectory and start\n" 70 " Reset interpolation before calling start again\n" 72 " After the end of an interpolation, goal signal is copied into\n" 73 " sout signal. Calling reset make the entity copy init signal into\n" 83 "Perform a cubic interpolation in SE(3) between two poses.\n" 85 " Initial pose is given by signal 'init', Target position is given" 87 " 'goal'. Interpolation is performed with zero velocities at start" 134 "CubicInterpolationSE3: samplingPeriod should" 135 " be positive. Are you sure you did\n" 157 p2_ = (D_T +
p1_ * 2) * (-1. / T) + (P_T -
p0_) * (3. / (T * T));
158 p3_ = (P_T -
p0_) * (-2 / (T * T * T)) + (
p1_ + D_T) * (1. / (T * T));
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
CommandVoid0< E > * makeCommandVoid0(E &entity, boost::function< void(void)> function, const std::string &docString)
void signalRegistration(const SignalArray< int > &signals)
virtual void setConstant(const T &t)
virtual const T & accessCopy() const
void addCommand(const std::string &name, command::Command *command)
virtual const Time & getTime() const
virtual void setFunction(boost::function2< T &, T &, Time > t, Mutex *mutexref=NULL)