bernstein.h File Reference
#include "curve_abc.h"
#include "MathDefs.h"
#include <math.h>
#include <vector>
#include <stdexcept>
Include dependency graph for bernstein.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  spline::Bern< Numeric >
 

Namespaces

 spline
 

Functions

unsigned int spline::fact (const unsigned int n)
 Computes factorial of a number. More...
 
unsigned int spline::bin (const unsigned int n, const unsigned int k)
 Computes a binomal coefficient. More...
 
template<typename Numeric >
std::vector< Bern< Numeric > > spline::makeBernstein (const unsigned int n)
 Computes all Bernstein polynomes for a certain degree. More...
 
spline::exact_cubic::t_point_t
T_Point t_point_t
Definition: exact_cubic.h:42
spline::make_cubic_vector
T_Point make_cubic_vector(Point const &a, Point const &b, Point const &c, Point const &d)
Creates coefficient vector of a cubic spline defined on the interval [tBegin, tEnd].
Definition: cubic_spline.h:28
spline::bezier_curve::cit_point_t
t_point_t::const_iterator cit_point_t
Definition: bezier_curve.h:37
spline::bezier_curve::operator()
virtual point_t operator()(const time_t t) const
Evaluation of the cubic spline at time t.
Definition: bezier_curve.h:127
spline::curve_constraints
Definition: curve_constraint.h:21
spline::helpers::rotation_spline::max_
double max_
Definition: effector_spline_rotation.h:93
spline::polynom::point_t
Point point_t
Definition: polynom.h:35
spline::Bern
Definition: bernstein.h:39
spline::helpers::effector_spline_rotation::~effector_spline_rotation
~effector_spline_rotation()
Definition: effector_spline_rotation.h:178
spline::bezier_curve::bernstein_
std::vector< Bern< Numeric > > bernstein_
Definition: bezier_curve.h:322
spline::spline_deriv_constraint::t_spline_t
std::vector< spline_t > t_spline_t
Definition: spline_deriv_constraint.h:51
spline
Definition: bernstein.h:20
spline::helpers::rotation_spline::max
virtual time_t max() const
Returns the maximum time for wich curve is defined.
Definition: effector_spline_rotation.h:87
spline::polynom::polynom
polynom(const coeff_t &coefficients, const time_t min, const time_t max)
Constructor.
Definition: polynom.h:51
spline::SplineOptimizer
Mosek connection to produce optimized splines.
Definition: OptimizeSpline.h:28
spline::helpers::T_Point
std::vector< Point, Eigen::aligned_allocator< Point > > T_Point
Definition: effector_spline.h:29
spline::helpers::waypoint_quat_t
std::pair< Numeric, quat_t > waypoint_quat_t
Definition: effector_spline_rotation.h:34
spline::helpers::effector_spline_rotation::land_quat_
const Eigen::Quaterniond land_quat_
Definition: effector_spline_rotation.h:237
spline::helpers::rotation_spline::quat_from_
Eigen::Quaterniond quat_from_
Definition: effector_spline_rotation.h:90
spline::polynom::derivate
virtual point_t derivate(const time_t t, const std::size_t order) const
Evaluation of the derivative spline at time t.
Definition: polynom.h:150
spline::helpers::effector_spline_rotation::spline_
const exact_cubic_t * spline_
Definition: effector_spline_rotation.h:235
spline::bezier_curve::extract
bezier_curve_t extract(const Numeric t1, const Numeric t2)
Definition: bezier_curve.h:275
spline::bezier_curve::T_
time_t T_
Definition: bezier_curve.h:318
spline::spline_deriv_constraint::spline_deriv_constraint
spline_deriv_constraint(const spline_deriv_constraint &other)
Copy Constructor.
Definition: spline_deriv_constraint.h:71
spline::helpers::rotation_spline::min
virtual time_t min() const
Returns the minimum time for wich curve is defined.
Definition: effector_spline_rotation.h:86
spline::helpers::effector_spline_rotation::to_quat_
const Eigen::Quaterniond to_quat_
Definition: effector_spline_rotation.h:236
spline::bezier_curve::~bezier_curve
~bezier_curve()
Destructor.
Definition: bezier_curve.h:113
spline::exact_cubic::~exact_cubic
virtual ~exact_cubic()
Destructor.
Definition: exact_cubic.h:69
spline::spline_deriv_constraint::time_t
Time time_t
Definition: spline_deriv_constraint.h:47
spline::curve_abc::min
virtual time_t min() const =0
Returns the minimum time for wich curve is defined.
spline::helpers::rotation_spline::min_
double min_
Definition: effector_spline_rotation.h:92
spline::curve_abc::curve_abc
curve_abc()
Constructor.
Definition: curve_abc.h:31
spline::polynom::coeff_t_ref
Eigen::Ref< coeff_t > coeff_t_ref
Definition: polynom.h:41
spline::spline_deriv_constraint::t_point_t
T_Point t_point_t
Definition: spline_deriv_constraint.h:44
spline::helpers::Point
Eigen::Matrix< Numeric, 3, 1 > Point
Definition: effector_spline.h:28
spline::polynom::order_
std::size_t order_
Definition: polynom.h:183
spline::bezier_curve::num_t
Numeric num_t
Definition: bezier_curve.h:34
spline::bezier_curve::deCasteljauReduction
t_point_t deCasteljauReduction(const t_point_t &pts, const Numeric u) const
deCasteljauReduction compute the de Casteljau's reduction of the given list of points at time t
Definition: bezier_curve.h:239
spline::helpers::spline_t
spline_deriv_constraint_t::spline_t spline_t
Definition: effector_spline.h:36
spline::SplineOptimizer::MatrixX
Eigen::Matrix< Numeric, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Definition: OptimizeSpline.h:29
spline::helpers::Numeric
double Numeric
Definition: effector_spline.h:26
spline::curve_abc
Represents a curve of dimension Dim is Safe is false, no verification is made on the evaluation of th...
Definition: curve_abc.h:24
spline::curve_constraints::point_t
Point point_t
Definition: curve_constraint.h:22
spline::bezier_curve::bezier_curve_t
bezier_curve< Time, Numeric, Dim, Safe, Point > bezier_curve_t
Definition: bezier_curve.h:38
spline::curve_constraints::curve_constraints
curve_constraints()
Definition: curve_constraint.h:23
spline::SplineOptimizer::time_t
Time time_t
Definition: OptimizeSpline.h:31
spline::helpers::t_waypoint_quat_t
std::vector< waypoint_quat_t > t_waypoint_quat_t
Definition: effector_spline_rotation.h:35
spline::helpers::T_Waypoint
std::vector< Waypoint > T_Waypoint
Definition: effector_spline.h:31
spline::helpers::spline_constraints_t
spline_deriv_constraint_t::spline_constraints spline_constraints_t
Definition: effector_spline.h:33
spline::spline_deriv_constraint::spline_t
polynom< time_t, Numeric, Dim, Safe, point_t, t_point_t > spline_t
Definition: spline_deriv_constraint.h:49
spline::SplineOptimizer::SplineOptimizer
SplineOptimizer()
Initializes optimizer environment.
Definition: OptimizeSpline.h:39
spline::exact_cubic::exact_cubic
exact_cubic(In wayPointsBegin, In wayPointsEnd)
Constructor.
Definition: exact_cubic.h:58
spline::SplineOptimizer::point_t
Point point_t
Definition: OptimizeSpline.h:30
spline::spline_deriv_constraint
Represents a set of cubic splines defining a continuous function crossing each of the waypoint given ...
Definition: spline_deriv_constraint.h:42
spline::helpers::spline_deriv_constraint_one_dim
spline_deriv_constraint< Numeric, Numeric, 1, false, point_one_dim_t > spline_deriv_constraint_one_dim
Definition: effector_spline_rotation.h:37
MathDefs.h
spline::curve_abc::max
virtual time_t max() const =0
Returns the maximum time for wich curve is defined.
spline::helpers::effector_spline_rotation::interpolate_quat
quat_t interpolate_quat(const Numeric t) const
Definition: effector_spline_rotation.h:202
spline::spline_deriv_constraint::~spline_deriv_constraint
virtual ~spline_deriv_constraint()
Destructor.
Definition: spline_deriv_constraint.h:68
spline::exact_cubic::it_spline_t
t_spline_t::iterator it_spline_t
Definition: exact_cubic.h:48
curve_constraint.h
struct to define constraints on start / end velocities and acceleration on a curve
spline::bezier_curve::max
virtual time_t max() const
Definition: bezier_curve.h:314
spline::helpers::effector_spline_rotation::time_lift_offset_
const double time_lift_offset_
Definition: effector_spline_rotation.h:238
spline::from_bezier
Polynom from_bezier(const Bezier &curve)
Provides methods for converting a curve from a bernstein representation to a polynom representation.
Definition: bezier_polynom_conversion.h:34
bernstein.h
spline::curve_constraints::end_vel
point_t end_vel
Definition: curve_constraint.h:28
spline::exact_cubic::MatrixX
Eigen::Matrix< Numeric, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Definition: exact_cubic.h:43
spline::create_quintic
polynom< Time, Numeric, Dim, Safe, Point, T_Point > create_quintic(Point const &a, Point const &b, Point const &c, Point const &d, Point const &e, Point const &f, const Time min, const Time max)
Definition: quintic_spline.h:41
spline::exact_cubic::t_spline_t
std::vector< spline_t > t_spline_t
Definition: exact_cubic.h:47
spline::helpers::Waypoint
std::pair< double, Point > Waypoint
Definition: effector_spline.h:30
spline::exact_cubic::exact_cubic
exact_cubic(const t_spline_t &subSplines)
Constructor.
Definition: exact_cubic.h:63
spline::bezier_curve::compute_derivate
bezier_curve_t compute_derivate(const std::size_t order) const
Computes the derivative curve at order N.
Definition: bezier_curve.h:139
spline::exact_cubic::operator()
virtual point_t operator()(const time_t t) const
Evaluation of the cubic spline at time t.
Definition: exact_cubic.h:153
spline::helpers::quat_ref_const_t
const typedef Eigen::Ref< const quat_t > quat_ref_const_t
Definition: effector_spline_rotation.h:31
spline::curve_constraints::end_acc
point_t end_acc
Definition: curve_constraint.h:29
spline::helpers::t_spline_t
spline_deriv_constraint_t::t_spline_t t_spline_t
Definition: effector_spline.h:35
spline::helpers::config_t
Eigen::Matrix< Numeric, 7, 1 > config_t
Definition: effector_spline_rotation.h:32
spline::polynom::coeff_t
Eigen::Matrix< double, Dim, Eigen::Dynamic > coeff_t
Definition: polynom.h:40
spline::spline_deriv_constraint::MatrixX
Eigen::Matrix< Numeric, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Definition: spline_deriv_constraint.h:45
quintic_spline.h
spline::helpers::rotation_spline::operator=
rotation_spline & operator=(const rotation_spline &from)
Definition: effector_spline_rotation.h:55
spline::helpers::exact_cubic_quat_t
exact_cubic< Time, Numeric, 4, false, quat_t, std::vector< quat_t, Eigen::aligned_allocator< quat_t > >, rotation_spline > exact_cubic_quat_t
Definition: effector_spline_rotation.h:99
spline::curve_constraints::init_vel
point_t init_vel
Definition: curve_constraint.h:26
spline::bezier_curve::time_t
Time time_t
Definition: bezier_curve.h:33
spline::polynom::coefficients_
coeff_t coefficients_
Definition: polynom.h:181
spline::curve_abc::time_t
Time time_t
Definition: curve_abc.h:26
spline::helpers::effector_spline
exact_cubic_t * effector_spline(In wayPointsBegin, In wayPointsEnd, const Point &lift_normal=Eigen::Vector3d::UnitZ(), const Point &land_normal=Eigen::Vector3d::UnitZ(), const Numeric lift_offset=0.02, const Numeric land_offset=0.02, const Time lift_offset_duration=0.02, const Time land_offset_duration=0.02)
Helper method to create a spline typically used to guide the 3d trajectory of a robot end effector.
Definition: effector_spline.h:90
spline::polynom::~polynom
~polynom()
Destructor.
Definition: polynom.h:94
spline::helpers::effector_spline_rotation::operator()
config_t operator()(const Numeric t) const
Evaluation of the effector position and rotation at time t.
Definition: effector_spline_rotation.h:194
spline::curve_constraints::~curve_constraints
~curve_constraints()
Definition: curve_constraint.h:25
cubic_spline.h
Definition of a cubic spline.
spline::bezier_curve::derivate
virtual point_t derivate(const time_t t, const std::size_t order) const
Evaluates the derivative at order N of the curve.
Definition: bezier_curve.h:174
spline::helpers::rotation_spline::rotation_spline
rotation_spline(quat_ref_const_t quat_from=quat_t(0, 0, 0, 1), quat_ref_const_t quat_to=quat_t(0, 0, 0, 1), const double min=0., const double max=1.)
Definition: effector_spline_rotation.h:43
spline::exact_cubic::min
virtual num_t min() const
Definition: exact_cubic.h:182
spline::curve_abc::timeRange
std::pair< time_t, time_t > timeRange()
Definition: curve_abc.h:58
spline::exact_cubic::exact_cubic
exact_cubic(const exact_cubic &other)
Copy Constructor.
Definition: exact_cubic.h:66
spline::SplineOptimizer::splineOptimizer_t
SplineOptimizer< time_t, Numeric, Dim, Safe, Point > splineOptimizer_t
Definition: OptimizeSpline.h:34
spline::bezier_curve::compute_primitive
bezier_curve_t compute_primitive(const std::size_t order) const
Computes the primitive of the curve at order N.
Definition: bezier_curve.h:152
spline::bezier_curve::evalDeCasteljau
point_t evalDeCasteljau(const Numeric t) const
evalDeCasteljau evaluate the curve value at time t using deCasteljau algorithm
Definition: bezier_curve.h:221
spline::bezier_curve::evalHorner
point_t evalHorner(const Numeric t) const
Evaluates all Bernstein polynomes for a certain degree using horner's scheme.
Definition: bezier_curve.h:197
spline::helpers::point_one_dim_t
Eigen::Matrix< Numeric, 1, 1 > point_one_dim_t
Definition: effector_spline_rotation.h:36
spline::polynom::polynom
polynom(In zeroOrderCoefficient, In out, const time_t min, const time_t max)
Constructor.
Definition: polynom.h:84
spline::exact_cubic::num_t
Numeric num_t
Definition: exact_cubic.h:45
spline::helpers::rotation_spline::time_reparam_
spline_deriv_constraint_one_dim time_reparam_
Definition: effector_spline_rotation.h:94
spline::exact_cubic::subSplines_
t_spline_t subSplines_
Definition: exact_cubic.h:188
spline::helpers::effector_spline_rotation::max
Numeric max() const
Definition: effector_spline_rotation.h:184
spline::curve_abc::~curve_abc
virtual ~curve_abc()
Destructor.
Definition: curve_abc.h:34
spline::helpers::make_end_spline
spline_t make_end_spline(const Point &normal, const Point &from, const Numeric offset, const Time init_time, const Time time_offset)
Definition: effector_spline.h:45
spline::helpers::spline_deriv_constraint_t
spline_deriv_constraint< Time, Numeric, 3, true, Point, T_Point > spline_deriv_constraint_t
Definition: effector_spline.h:32
spline::helpers::waypoint_one_dim_t
std::pair< Numeric, point_one_dim_t > waypoint_one_dim_t
Definition: effector_spline_rotation.h:38
spline::bezier_curve::bezier_curve
bezier_curve(In PointsBegin, In PointsEnd, const time_t T)
Constructor.
Definition: bezier_curve.h:63
spline::makeBernstein
std::vector< Bern< Numeric > > makeBernstein(const unsigned int n)
Computes all Bernstein polynomes for a certain degree.
Definition: bernstein.h:58
spline::make_quintic_vector
T_Point make_quintic_vector(Point const &a, Point const &b, Point const &c, Point const &d, Point const &e, Point const &f)
Creates coefficient vector of a quintic spline defined on the interval [tBegin, tEnd].
Definition: quintic_spline.h:28
spline::exact_cubic
Definition: exact_cubic.h:40
spline::helpers::Time
double Time
Definition: effector_spline.h:27
spline::polynom::polynom
polynom(const polynom &other)
Definition: polynom.h:98
spline::Bern::i_
Numeric i_
Definition: bernstein.h:50
spline::helpers::quat_t
Eigen::Matrix< Numeric, 4, 1 > quat_t
Definition: effector_spline_rotation.h:29
spline::PseudoInverse
void PseudoInverse(_Matrix_Type_ &pinvmat)
Definition: MathDefs.h:28
spline::polynom::dim_
std::size_t dim_
Definition: polynom.h:182
spline::helpers::effector_spline_rotation::quat_spline_
const exact_cubic_quat_t quat_spline_
Definition: effector_spline_rotation.h:240
curve_abc.h
interface for a Curve of arbitrary dimension.
spline::Bern::bin_m_i_
Numeric bin_m_i_
Definition: bernstein.h:51
spline::polynom::polynom
polynom(const T_Point &coefficients, const time_t min, const time_t max)
Constructor.
Definition: polynom.h:67
spline::polynom::t_point_t
T_Point t_point_t
Definition: polynom.h:36
spline::polynom::num_t
Numeric num_t
Definition: polynom.h:38
spline::bezier_curve::zero
static bezier_curve_t zero(const time_t T=1.)
Definition: bezier_curve.h:328
spline::Bern::Bern
Bern(const unsigned int m, const unsigned int i)
Definition: bernstein.h:40
spline::exact_cubic::curve_abc_t
curve_abc< Time, Numeric, Dim, Safe, Point > curve_abc_t
Definition: exact_cubic.h:50
spline::helpers::rotation_spline::derivate
virtual quat_t derivate(time_t, std::size_t) const
Definition: effector_spline_rotation.h:74
spline::bezier_curve::waypoints
const t_point_t & waypoints() const
Definition: bezier_curve.h:214
spline::helpers::effector_spline_rotation
Represents a trajectory for and end effector uses the method effector_spline to create a spline traje...
Definition: effector_spline_rotation.h:108
spline::SplineOptimizer::~SplineOptimizer
~SplineOptimizer()
Destructor.
Definition: OptimizeSpline.h:45
spline::exact_cubic::cit_spline_t
t_spline_t::const_iterator cit_spline_t
Definition: exact_cubic.h:49
spline::fact
unsigned int fact(const unsigned int n)
Computes factorial of a number.
Definition: bernstein.h:24
spline::curve_abc::point_t
Point point_t
Definition: curve_abc.h:25
spline::bezier_curve::mult_T_
time_t mult_T_
Definition: bezier_curve.h:319
spline::helpers::effector_spline_rotation::effector_spline_rotation
effector_spline_rotation(In wayPointsBegin, In wayPointsEnd, InQuat quatWayPointsBegin, InQuat quatWayPointsEnd, const Point &lift_normal=Eigen::Vector3d::UnitZ(), const Point &land_normal=Eigen::Vector3d::UnitZ(), const Numeric lift_offset=0.02, const Numeric land_offset=0.02, const Time lift_offset_duration=0.02, const Time land_offset_duration=0.02)
Constructor.
Definition: effector_spline_rotation.h:163
polynom.h
Definition of a cubic spline.
spline::spline_deriv_constraint::it_spline_t
t_spline_t::iterator it_spline_t
Definition: spline_deriv_constraint.h:52
spline::helpers::exact_cubic_t
spline_deriv_constraint_t::exact_cubic_t exact_cubic_t
Definition: effector_spline.h:34
spline::curve_abc::derivate
virtual point_t derivate(const time_t t, const std::size_t order) const =0
Evaluation of the derivative spline at time t.
spline::curve_abc::operator()
virtual point_t operator()(const time_t t) const =0
Evaluation of the cubic spline at time t.
exact_cubic.h
class allowing to create an Exact cubic spline.
spline::bezier_curve::evalBernstein
point_t evalBernstein(const Numeric t) const
Evaluates all Bernstein polynomes for a certain degree Warning: the horner scheme is about 100 times ...
Definition: bezier_curve.h:184
spline::bezier_curve::deCasteljauReduction
t_point_t deCasteljauReduction(const Numeric t) const
Definition: bezier_curve.h:231
spline::bezier_curve
Definition: bezier_curve.h:31
spline::bin
unsigned int bin(const unsigned int n, const unsigned int k)
Computes a binomal coefficient.
Definition: bernstein.h:33
spline::bezier_curve::split
std::pair< bezier_curve_t, bezier_curve_t > split(const Numeric t)
split split the curve in 2 at time t
Definition: bezier_curve.h:255
spline::polynom::max
virtual num_t max() const
Returns the maximum time for wich curve is defined.
Definition: polynom.h:176
spline::bezier_curve::bezier_curve
bezier_curve(In PointsBegin, In PointsEnd, const time_t T, const time_t mult_T)
Constructor.
Definition: bezier_curve.h:80
spline::helpers::compute_required_offset_velocity_acceleration
spline_constraints_t compute_required_offset_velocity_acceleration(const spline_t &end_spline, const Time)
Definition: effector_spline.h:65
spline::helpers::rotation_spline::computeWayPoints
spline_deriv_constraint_one_dim computeWayPoints() const
Definition: effector_spline_rotation.h:78
spline::polynom::min
virtual num_t min() const
Returns the minimum time for wich curve is defined.
Definition: polynom.h:174
spline::bezier_curve::curve_constraints_t
curve_constraints< point_t > curve_constraints_t
Definition: bezier_curve.h:35
spline::exact_cubic::derivate
virtual point_t derivate(const time_t t, const std::size_t order) const
Evaluation of the derivative spline at time t.
Definition: exact_cubic.h:168
spline::exact_cubic::max
virtual num_t max() const
Definition: exact_cubic.h:183
spline::Bern::~Bern
~Bern()
Definition: bernstein.h:42
spline::bezier_curve::t_point_t
std::vector< point_t, Eigen::aligned_allocator< point_t > > t_point_t
Definition: bezier_curve.h:36
spline::create_cubic
polynom< Time, Numeric, Dim, Safe, Point, T_Point > create_cubic(Point const &a, Point const &b, Point const &c, Point const &d, const Time min, const Time max)
Definition: cubic_spline.h:38
spline::helpers::rotation_spline::operator()
quat_t operator()(const Numeric t) const
Definition: effector_spline_rotation.h:65
spline::polynom::operator()
virtual point_t operator()(const time_t t) const
Evaluation of the cubic spline at time t using horner's scheme.
Definition: polynom.h:136
spline::helpers::rotation_spline::~rotation_spline
~rotation_spline()
Definition: effector_spline_rotation.h:52
spline::helpers::rotation_spline::quat_to_
Eigen::Quaterniond quat_to_
Definition: effector_spline_rotation.h:91
spline::SplineOptimizer::num_t
Numeric num_t
Definition: OptimizeSpline.h:32
spline::bezier_curve::point_t
Point point_t
Definition: bezier_curve.h:32
spline::bezier_curve::size_
std::size_t size_
Definition: bezier_curve.h:320
spline::helpers::effector_spline_rotation::effector_spline_rotation
effector_spline_rotation(In wayPointsBegin, In wayPointsEnd, quat_ref_const_t &to_quat=quat_t(0, 0, 0, 1), quat_ref_const_t &land_quat=quat_t(0, 0, 0, 1), const Point &lift_normal=Eigen::Vector3d::UnitZ(), const Point &land_normal=Eigen::Vector3d::UnitZ(), const Numeric lift_offset=0.02, const Numeric land_offset=0.02, const Time lift_offset_duration=0.02, const Time land_offset_duration=0.02)
Constructor.
Definition: effector_spline_rotation.h:128
spline::SplineOptimizer::GenerateOptimizedCurve
exact_cubic_t * GenerateOptimizedCurve(In wayPointsBegin, In wayPointsEnd) const
Starts an optimization loop to create curve.
spline::exact_cubic::spline_t
SplineBase spline_t
Definition: exact_cubic.h:46
spline_deriv_constraint.h
spline::polynom::curve_abc_t
curve_abc< Time, Numeric, Dim, Safe, Point > curve_abc_t
Definition: polynom.h:39
spline::spline_deriv_constraint::point_t
Point point_t
Definition: spline_deriv_constraint.h:43
spline::Bern::m_minus_i
Numeric m_minus_i
Definition: bernstein.h:49
spline::spline_deriv_constraint::spline_deriv_constraint
spline_deriv_constraint(In wayPointsBegin, In wayPointsEnd, const spline_constraints &constraints=spline_constraints())
Constructor.
Definition: spline_deriv_constraint.h:63
spline::curve_constraints::init_acc
point_t init_acc
Definition: curve_constraint.h:27
spline::exact_cubic::time_t
Time time_t
Definition: exact_cubic.h:44
spline::polynom::time_t
Time time_t
Definition: polynom.h:37
spline::helpers::effector_spline_rotation::time_land_offset_
const double time_land_offset_
Definition: effector_spline_rotation.h:239
spline::SplineOptimizer::exact_cubic_t
exact_cubic< time_t, Numeric, Dim, Safe, Point > exact_cubic_t
Definition: OptimizeSpline.h:33
spline::spline_deriv_constraint::exact_cubic_t
exact_cubic< time_t, Numeric, Dim, Safe, point_t, t_point_t > exact_cubic_t
Definition: spline_deriv_constraint.h:50
spline::exact_cubic::point_t
Point point_t
Definition: exact_cubic.h:41
effector_spline.h
spline::bezier_curve::degree_
std::size_t degree_
Definition: bezier_curve.h:321
spline::bezier_curve::bezier_curve
bezier_curve(In PointsBegin, In PointsEnd)
Constructor.
Definition: bezier_curve.h:46
spline::bezier_curve::min
virtual time_t min() const
Definition: bezier_curve.h:313
spline::polynom
Represents a polynomf arbitrary order defined on the interval [tBegin, tEnd]. It follows the equation...
Definition: polynom.h:34
spline::spline_deriv_constraint::cit_spline_t
t_spline_t::const_iterator cit_spline_t
Definition: spline_deriv_constraint.h:53
spline::helpers::effector_spline_rotation::min
Numeric min() const
Definition: effector_spline_rotation.h:183
spline::spline_deriv_constraint::spline_constraints
curve_constraints< point_t > spline_constraints
Definition: spline_deriv_constraint.h:54
spline::helpers::rotation_spline
Definition: effector_spline_rotation.h:41
spline::bezier_curve::bezier_curve
bezier_curve(In PointsBegin, In PointsEnd, const curve_constraints_t &constraints, const time_t T=1.)
Constructor This constructor will add 4 points (2 after the first one, 2 before the last one) to ensu...
Definition: bezier_curve.h:100
spline::spline_deriv_constraint::num_t
Numeric num_t
Definition: spline_deriv_constraint.h:48
spline::helpers::curve_abc_quat_t
curve_abc< Time, Numeric, 4, false, quat_t > curve_abc_quat_t
Definition: effector_spline_rotation.h:33
spline::helpers::quat_ref_t
Eigen::Ref< quat_t > quat_ref_t
Definition: effector_spline_rotation.h:30
spline::Bern::operator()
Numeric operator()(const Numeric u) const
Definition: bernstein.h:44
spline::spline_deriv_constraint::Matrix3
Eigen::Matrix< Numeric, 3, 3 > Matrix3
Definition: spline_deriv_constraint.h:46
spline::helpers::compute_offset
Waypoint compute_offset(const Waypoint &source, const Point &normal, const Numeric offset, const Time time_offset)
Definition: effector_spline.h:38
spline::helpers::t_waypoint_one_dim_t
std::vector< waypoint_one_dim_t > t_waypoint_one_dim_t
Definition: effector_spline_rotation.h:39