22#ifndef SPLINEINTERPOLATION_H
23#define SPLINEINTERPOLATION_H
26#include <interpolation.h>
48 PoseBasePtr
getPoseAt(
double time)
override;
65 alglib::real_2d_array getCoordinateArray(
int coordinate);
67 alglib::pspline2interpolant xInterpolation;
68 alglib::pspline2interpolant yInterpolation;
69 alglib::pspline2interpolant zInterpolation;
The AbstractInterpolation class represents a function f:t->P with P being the space of all poses The ...
std::vector< PoseBasePtr > controlPoints
controlPoints the controlPoints that are interpolated between
AbstractInterpolationPtr getInterPolationSegment(PoseBasePtr start)
getInterPolationSegment returns a segment of the current interpolation
PoseBasePtr getPoseAt(double time) override
getPoseAt returns the Pose defined by f(time)
SplineInterpolation(std::vector< PoseBasePtr > controlPoints)
SplineInterpolation creates a new SplineInterpolation through a series of conntrol points.
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< SplineInterpolation > SplineInterpolationPtr
std::shared_ptr< AbstractInterpolation > AbstractInterpolationPtr