Class SerialDeviceControllerPtr


  • public class SerialDeviceControllerPtr
    extends java.lang.Object
    Ptr stores a pointer and optionally takes ownership of the value.
    • Constructor Detail

      • SerialDeviceControllerPtr

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

        public SerialDeviceControllerPtr()
        Default constructor yielding a NULL-pointer.
      • SerialDeviceControllerPtr

        public SerialDeviceControllerPtr​(SerialDeviceController ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • delete

        public void delete()
      • isShared

        public boolean isShared()
        check if this Ptr has shared ownership or none
        ownership
        Returns:
        true if Ptr has shared ownership, false if it has no ownership.
      • isNull

        public boolean isNull()
        checks if the pointer is null
        Returns:
        Returns true if the pointer is null
      • moveLin

        public boolean moveLin​(Transform3D target,
                               float speed,
                               float blend)
        move robot in a linear Cartesian path
      • moveLin

        public boolean moveLin​(Transform3D target,
                               float speed)
        move robot in a linear Cartesian path
      • moveLin

        public boolean moveLin​(Transform3D target)
        move robot in a linear Cartesian path
      • movePTP

        public boolean movePTP​(Q target,
                               float speed,
                               float blend)
        move robot from point to point
      • movePTP

        public boolean movePTP​(Q target,
                               float speed)
        move robot from point to point
      • movePTP

        public boolean movePTP​(Q target)
        move robot from point to point
      • movePTP_T

        public boolean movePTP_T​(Transform3D target,
                                 float speed,
                                 float blend)
        move robot from point to point but using a pose as target (require invkin)
      • movePTP_T

        public boolean movePTP_T​(Transform3D target,
                                 float speed)
        move robot from point to point but using a pose as target (require invkin)
      • movePTP_T

        public boolean movePTP_T​(Transform3D target)
        move robot from point to point but using a pose as target (require invkin)
      • moveVelQ

        public boolean moveVelQ​(Q target_joint_velocity)
        move robot in a servoing fasion
      • stop

        public boolean stop()
        move robot with a hybrid position/force control hard stop the robot,
      • pause

        public boolean pause()
        pause the robot, should be able to continue trajectory
      • setSafeModeEnabled

        public boolean setSafeModeEnabled​(boolean enable)
        enable safe mode, so that robot stops when collisions are detected
      • getQ

        public Q getQ()
      • getQd

        public Q getQd()
      • isMoving

        public boolean isMoving()
      • getControllerName

        public java.lang.String getControllerName()
      • reset

        public void reset​(State state)
      • setEnabled

        public void setEnabled​(boolean enabled)
      • isEnabled

        public boolean isEnabled()