Class ParallelIKSolver.Target

  • Enclosing class:
    ParallelIKSolver

    public static class ParallelIKSolver.Target
    extends java.lang.Object
    A target definition used in the multi-target solve function.
    • Constructor Detail

      • Target

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

        public Target()
        Constructor with all directions enabled initially.
      • Target

        public Target​(FrameCPtr frame,
                      Transform3D refTtcp)
        Constructor with specification of a target transformation from the base to a
        given tcp frame.
        Parameters:
        frame - [in] the end frame.
        refTtcp - [in] the target base to frame transformation.
      • Target

        public Target​(FrameCPtr frame,
                      Transform3D refTtcp,
                      SWIGTYPE_p_rw__math__VectorNDT_6_bool_t enabled)
        Constructor with specification of a target transformation where some
        directions are not enabled.
        Parameters:
        frame - [in] the end frame.
        refTtcp - [in] the target base to frame transformation.
        enabled - [in] 6 values specifying if the x, y, z and EAA x, y, z directions
        should be enabled.
    • Method Detail

      • delete

        public void delete()
      • dof

        public long dof()
        Get the number directions enabled.
        Returns:
        number of directions enabled.
      • setRefFrame

        public void setRefFrame​(FrameCPtr value)
        The reference frame. If zero, this is equivalent to the device base frame.
      • getRefFrame

        public FrameCPtr getRefFrame()
        The reference frame. If zero, this is equivalent to the device base frame.
      • setTcpFrame

        public void setTcpFrame​(FrameCPtr value)
        The frame to specify target for.
      • getTcpFrame

        public FrameCPtr getTcpFrame()
        The frame to specify target for.
      • setRefTtcp

        public void setRefTtcp​(Transform3D value)
        The target transformation from refFrame to the tcpFrame.
      • getRefTtcp

        public Transform3D getRefTtcp()
        The target transformation from refFrame to the tcpFrame.