Wraps an interpolator using rw::math::Transform3D<T> to interpolator with a vector with 7 elements.
More...
#include <InterpolatorUtil.hpp>
Inherits Interpolator< V >.
template<class V, class T>
class rw::trajectory::InterpolatorUtil::Transform2VectorWrapper< V, T >
Wraps an interpolator using rw::math::Transform3D<T> to interpolator with a vector with 7 elements.
The vector returned contains the position followed by a quaternion for the orientation.
◆ Transform2VectorWrapper()
Constructs wrapper.
- Parameters
-
interpolator | [in] interpolator to wrap (ownership is NOT transferred) |
◆ ddx()
Acceleration at time t.
- Parameters
-
t | [in] time between 0 and length |
- Returns
- Acceleration
Implements Interpolator< V >.
◆ duration()
double duration |
( |
| ) |
const |
|
inlinevirtual |
Returns the duration of the interpolator.
The duration is defined as the time it takes to move from one end of the interpolator to the other.
- Returns
- duration
Implements Interpolator< V >.
◆ dx()
Velocity at time t.
- Parameters
-
t | [in] time between 0 and length |
- Returns
- Velocity
Implements Interpolator< V >.
◆ x()
Position at time t.
- Parameters
-
t | [in] time between 0 and length |
- Returns
- Position
Implements Interpolator< V >.
The documentation for this class was generated from the following file: