Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
|
Interface to a spline interpolator that can be used to smoothly interpolate between points. More...
#include <SplineI.hpp>
Public Member Functions | |
virtual | ~SplineI () |
Virtual destructor to ensure delete safety for pointers to implementing classes. More... | |
virtual void | setPoints (const std::vector< lanelet::BasicPoint2d > &points)=0 |
Set key points which the spline will interpolate between. More... | |
virtual lanelet::BasicPoint2d | operator() (double t) const =0 |
Get the BasicPoint2d coordinate along the curve at t-th step. More... | |
virtual lanelet::BasicPoint2d | first_deriv (double x) const =0 |
Get the BasicPoint2d representing the first_deriv along the curve at t-th step. More... | |
virtual lanelet::BasicPoint2d | second_deriv (double x) const =0 |
Get the BasicPoint2d representing the first_deriv along the curve at t-th step. More... | |
Interface to a spline interpolator that can be used to smoothly interpolate between points.
Definition at line 29 of file SplineI.hpp.
|
inlinevirtual |
Virtual destructor to ensure delete safety for pointers to implementing classes.
Definition at line 36 of file SplineI.hpp.
|
pure virtual |
Get the BasicPoint2d representing the first_deriv along the curve at t-th step.
t | The t-th step to solve the spline at, where t is from 0 (beginning of curve) to 1 (end of curve) |
Implemented in inlanecruising_plugin::smoothing::BSpline.
|
pure virtual |
Get the BasicPoint2d coordinate along the curve at t-th step.
t | The t-th step to solve the spline at, where t is from 0 (beginning of curve) to 1 (end of curve) |
Implemented in inlanecruising_plugin::smoothing::BSpline.
|
pure virtual |
Get the BasicPoint2d representing the first_deriv along the curve at t-th step.
t | The t-th step to solve the spline at, where t is from 0 (beginning of curve) to 1 (end of curve) |
Implemented in inlanecruising_plugin::smoothing::BSpline.
|
pure virtual |
Set key points which the spline will interpolate between.
points | The key points |
Implemented in inlanecruising_plugin::smoothing::BSpline.