41 #ifndef FCL_CCD_TAYLOR_MODEL_H 42 #define FCL_CCD_TAYLOR_MODEL_H 46 #include "fcl/math/constants.h" 47 #include "fcl/math/motion/taylor_model/interval.h" 48 #include "fcl/math/motion/taylor_model/time_interval.h" 61 std::shared_ptr<TimeInterval<S>> time_interval_;
71 void setTimeInterval(S l, S r);
73 void setTimeInterval(
const std::shared_ptr<
TimeInterval<S>>& time_interval);
75 const std::shared_ptr<TimeInterval<S>>& getTimeInterval()
const;
77 S coeff(std::size_t i)
const;
78 S& coeff(std::size_t i);
120 template <
typename S>
123 template <
typename S>
126 template <
typename S>
130 template <
typename S>
131 void generateTaylorModelForCosFunc(
TaylorModel<S>& tm, S w, S q0);
134 template <
typename S>
135 void generateTaylorModelForSinFunc(
TaylorModel<S>& tm, S w, S q0);
138 template <
typename S>
139 void generateTaylorModelForLinearFunc(
TaylorModel<S>& tm, S p, S v);
143 #include "fcl/math/motion/taylor_model/taylor_model-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45
Interval class for [a, b].
Definition: interval.h:50
TaylorModel operator*(const TaylorModel &other) const
Taylor model multiplication: f(t) = c0+c1*t+c2*t^2+c3*t^3+[a,b] g(t) = c0'+c1'*t+c2'*t^2+c3'*t^2+[c,d] f(t)g(t)= c0c0'+ (c0c1'+c1c0')t+ (c0c2'+c1c1'+c2c0')t^2+ (c0c3'+c1c2'+c2c1'+c3c0')t^3+ [a,b][c,d]+ (c1c3'+c2c2'+c3c1')t^4+ (c2c3'+c3c2')t^5+ (c3c3')t^6+ (c0+c1*t+c2*t^2+c3*t^3)[c,d]+ (c0'+c1'*t+c2'*t^2+c3'*c^3)[a,b].
Definition: taylor_model-inl.h:259
Definition: time_interval.h:50
TaylorModel implements a third order Taylor model, i.e., a cubic approximation of a function over a t...
Definition: taylor_model.h:58