Go to the documentation of this file.
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));
virtual const T & accessCopy() const
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
virtual void setFunction(boost::function2< T &, T &, Time > t, Mutex *mutexref=NULL)
CommandVoid0< E > * makeCommandVoid0(E &entity, boost::function< void(E *)> function, const std::string &docString)
virtual void setConstant(const T &t)
void addCommand(const std::string &name, command::Command *command)
void signalRegistration(const SignalArray< sigtime_t > &signals)
sot-tools
Author(s): Mehdi Benallegue, Francois Keith, Florent Lamiraux, Thomas Moulard, Olivier Stasse, Jorrit T'Hooft
autogenerated on Wed Aug 2 2023 02:35:13