Class RampInterpolatorVector2D_f


  • public class RampInterpolatorVector2D_f
    extends InterpolatorVector2D_f
    Make a ramp interpolation between two position

    The template argument given needs to support addition with the "+" operator
    and scaling with a double using the "*" operator.

    For use with a rw::math::Transform3D see the template specialization
    • Constructor Detail

      • RampInterpolatorVector2D_f

        public RampInterpolatorVector2D_f​(long cPtr,
                                          boolean cMemoryOwn)
      • RampInterpolatorVector2D_f

        public RampInterpolatorVector2D_f​(Vector2Df start,
                                          Vector2Df end,
                                          Vector2Df vellimits,
                                          Vector2Df acclimits,
                                          double duration)
        Construct RampInterpolator starting at start and finishing in end
        with velocity limits vellimimts and acceleration limits acclimits. The duration
        will be calculated automatically. The start and end velocity and acceleration is zero.

        If duration is not achievable given the velocity and acceleration limits then
        the duration will be extended.
        Parameters:
        start - [in] Start of interpolator
        end - [in] End of interpolator
        vellimits - [in] velocity limits
        acclimits - [in] acceleration limits
        duration - [in] Time it takes to from one end to the other.
      • RampInterpolatorVector2D_f

        public RampInterpolatorVector2D_f​(Vector2Df start,
                                          Vector2Df end,
                                          Vector2Df vellimits,
                                          Vector2Df acclimits)
        Construct RampInterpolator starting at start and finishing in end
        with velocity limits vellimimts and acceleration limits acclimits. The duration
        will be calculated automatically. The start and end velocity and acceleration is zero.

        If duration is not achievable given the velocity and acceleration limits then
        the duration will be extended.
        Parameters:
        start - [in] Start of interpolator
        end - [in] End of interpolator
        vellimits - [in] velocity limits
        acclimits - [in] acceleration limits