RobWorkProject
24.12.4-
|
Implements RampInterpolator for rw::math::Rotation3D<T> More...
#include <RampInterpolator.hpp>
Inherits Interpolator< rw::math::Rotation3D< T > >.
Public Types | |
typedef rw::core::Ptr< RampInterpolator< rw::math::Rotation3D< T > > > | Ptr |
smart pointer type to this class | |
typedef rw::core::Ptr< const RampInterpolator< rw::math::Rotation3D< T > > > | CPtr |
smart pointer type const instance of class | |
Public Types inherited from Interpolator< rw::math::Rotation3D< T > > | |
typedef rw::core::Ptr< Interpolator > | Ptr |
smart pointer type to this class | |
Public Member Functions | |
RampInterpolator (const rw::math::Rotation3D< T > &start, const rw::math::Rotation3D< T > &end, const rw::math::Rotation3D< T > &vellimits, const rw::math::Rotation3D< T > &acclimits, double duration=-1) | |
dummy constructor don't use | |
RampInterpolator (const rw::math::Rotation3D< T > &start, const rw::math::Rotation3D< T > &end, double velLimit, double accLimit) | |
Construct RampInterpolator starting a start and finishing in end. More... | |
rw::math::Rotation3D< T > | x (double t) const |
Position at time t. More... | |
rw::math::Rotation3D< T > | dx (double t) const |
Velocity at time t. More... | |
rw::math::Rotation3D< T > | ddx (double t) const |
Acceleration at time t. More... | |
rw::math::Rotation3D< T > | getStart () const |
Returns the start rotation of the interpolator. More... | |
rw::math::Rotation3D< T > | getEnd () const |
Returns the end rotation of the interpolator. More... | |
double | duration () const |
Returns the duration of the interpolator. More... | |
Public Member Functions inherited from Interpolator< rw::math::Rotation3D< T > > | |
virtual | ~Interpolator () |
Virtual destructor. | |
Implements RampInterpolator for rw::math::Rotation3D<T>
The interpolation of rotation is made using a Quaternion slerp interpolation. See rw::math::Quaternion::slerp for further information.
|
inline |
Construct RampInterpolator starting a start and finishing in end.
start | [in] Start of interpolator |
end | [in] End of interpolator |
velLimit | [in] the max rotational velocity in rad/sec |
accLimit | [in] the max rotational acceleration in rad/sec^2 |
|
inlinevirtual |
Acceleration at time t.
t | [in] time between 0 and length |
Implements Interpolator< rw::math::Rotation3D< T > >.
|
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.
Implements Interpolator< rw::math::Rotation3D< T > >.
|
inlinevirtual |
Velocity at time t.
t | [in] time between 0 and length |
Implements Interpolator< rw::math::Rotation3D< T > >.
|
inline |
Returns the end rotation of the interpolator.
|
inline |
Returns the start rotation of the interpolator.
|
inlinevirtual |
Position at time t.
t | [in] time between 0 and length |
Implements Interpolator< rw::math::Rotation3D< T > >.