- 3.0.2 optimal control module.
|
Abstract base class for the control input splining between the DMS shots. More...
#include <SplinerBase.h>
Public Types | |
typedef T | vector_t |
typedef Eigen::Matrix< SCALAR, T::DIM, T::DIM > | matrix_t |
typedef std::vector< vector_t, Eigen::aligned_allocator< vector_t > > | vector_array_t |
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | SplinerBase ()=default |
Default constructor. More... | |
virtual | ~SplinerBase ()=default |
Destructor. More... | |
virtual void | computeSpline (const vector_array_t &points)=0 |
Updates the vector on the shots. More... | |
virtual vector_t | evalSpline (const SCALAR time, const size_t shotIdx)=0 |
Depending on the spline type, this method evaluates the control input between the shots. More... | |
virtual vector_t | splineDerivative_t (const SCALAR time, const size_t shotIdx) const =0 |
Returns the spline derivatives with respect to time. More... | |
virtual vector_t | splineDerivative_h_i (const SCALAR time, const size_t shotIdx) const =0 |
Returns the spline derivatives with respect to the time segment between the shots. More... | |
virtual matrix_t | splineDerivative_q_i (const SCALAR time, const size_t shotIdx) const =0 |
Return the spline derivative with respect to the control input at shot i. More... | |
virtual matrix_t | splineDerivative_q_iplus1 (const SCALAR time, const size_t shotIdx) const =0 |
Returns the spline derivative with respect to the control input at shot i+1. More... | |
Abstract base class for the control input splining between the DMS shots.
T | The vector type which will be splined |
typedef T ct::optcon::SplinerBase< T, SCALAR >::vector_t |
typedef Eigen::Matrix<SCALAR, T::DIM, T::DIM> ct::optcon::SplinerBase< T, SCALAR >::matrix_t |
typedef std::vector<vector_t, Eigen::aligned_allocator<vector_t> > ct::optcon::SplinerBase< T, SCALAR >::vector_array_t |
|
default |
Default constructor.
|
virtualdefault |
Destructor.
|
pure virtual |
Updates the vector on the shots.
[in] | points | Updated vector array |
Implemented in ct::optcon::LinearSpliner< T, SCALAR >, and ct::optcon::ZeroOrderHoldSpliner< T, SCALAR >.
|
pure virtual |
Depending on the spline type, this method evaluates the control input between the shots.
[in] | time | The evaluation time |
[in] | shotIdx | The shot number |
Implemented in ct::optcon::LinearSpliner< T, SCALAR >, and ct::optcon::ZeroOrderHoldSpliner< T, SCALAR >.
|
pure virtual |
Returns the spline derivatives with respect to time.
[in] | time | The evaluation time |
[in] | shotIdx | The shot number |
Implemented in ct::optcon::LinearSpliner< T, SCALAR >, and ct::optcon::ZeroOrderHoldSpliner< T, SCALAR >.
|
pure virtual |
Returns the spline derivatives with respect to the time segment between the shots.
[in] | time | The evaluation time |
[in] | shotIdx | The shot number |
Implemented in ct::optcon::LinearSpliner< T, SCALAR >, and ct::optcon::ZeroOrderHoldSpliner< T, SCALAR >.
|
pure virtual |
Return the spline derivative with respect to the control input at shot i.
[in] | time | The evaluation time |
[in] | shotIdx | The shot number |
Implemented in ct::optcon::LinearSpliner< T, SCALAR >, and ct::optcon::ZeroOrderHoldSpliner< T, SCALAR >.
|
pure virtual |
Returns the spline derivative with respect to the control input at shot i+1.
[in] | time | The evaluation time |
[in] | shotIdx | The shot number |
Implemented in ct::optcon::LinearSpliner< T, SCALAR >, and ct::optcon::ZeroOrderHoldSpliner< T, SCALAR >.