Represents a hermite spline of degree 3.
More...
#include <trajopt/spline/cubic_hermite_spline.hpp>
|
|
using | PoseWithCurvature |
| | Pose2d with curvature.
|
Represents a hermite spline of degree 3.
◆ CubicHermiteSpline()
| trajopt::CubicHermiteSpline::CubicHermiteSpline |
( |
std::array< double, 2 > | x_initial_control_vector, |
|
|
std::array< double, 2 > | x_final_control_vector, |
|
|
std::array< double, 2 > | y_initial_control_vector, |
|
|
std::array< double, 2 > | y_final_control_vector ) |
|
inline |
Constructs a cubic hermite spline with the specified control vectors. Each control vector contains info about the location of the point and its first derivative.
- Parameters
-
| x_initial_control_vector | The control vector for the initial point in the x dimension. |
| x_final_control_vector | The control vector for the final point in the x dimension. |
| y_initial_control_vector | The control vector for the initial point in the y dimension. |
| y_final_control_vector | The control vector for the final point in the y dimension. |
◆ coefficients()
| const Eigen::Matrix< double, 6, 3+1 > & trajopt::CubicHermiteSpline::coefficients |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ get_final_control_vector()
| const ControlVector & trajopt::CubicHermiteSpline::get_final_control_vector |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the final control vector that created this spline.
- Returns
- The final control vector that created this spline.
Implements trajopt::Spline< 3 >.
◆ get_initial_control_vector()
| const ControlVector & trajopt::CubicHermiteSpline::get_initial_control_vector |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the initial control vector that created this spline.
- Returns
- The initial control vector that created this spline.
Implements trajopt::Spline< 3 >.
The documentation for this class was generated from the following file: