Package org.robwork.sdurw_invkin
Class ClosedFormIKSolverURPtr
- java.lang.Object
-
- org.robwork.sdurw_invkin.ClosedFormIKSolverURPtr
-
public class ClosedFormIKSolverURPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description ClosedFormIKSolverURPtr()
Default constructor yielding a NULL-pointer.ClosedFormIKSolverURPtr(long cPtr, boolean cMemoryOwn)
ClosedFormIKSolverURPtr(ClosedFormIKSolverUR ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClosedFormIKSolverUR
__ref__()
Dereferencing operator.ClosedFormIKSolverURCPtr
cptr()
void
delete()
ClosedFormIKSolverUR
deref()
The pointer stored in the object.boolean
equals(ClosedFormIKSolverUR p)
static long
getCPtr(ClosedFormIKSolverURPtr obj)
ClosedFormIKSolverUR
getDeref()
Member access operator.FrameCPtr
getTCP()
boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipClosedFormIKPtr
make(Device device, State state)
Closed-form IK solver for a device.
The device must be a serial device with 6 revolute joints described
by DH parameters.
The IK solver is currently implemented in terms of PieperSolver.void
setCheckJointLimits(boolean check)
VectorQ
solve(Transform3D baseTend, State state)
-
-
-
Constructor Detail
-
ClosedFormIKSolverURPtr
public ClosedFormIKSolverURPtr(long cPtr, boolean cMemoryOwn)
-
ClosedFormIKSolverURPtr
public ClosedFormIKSolverURPtr()
Default constructor yielding a NULL-pointer.
-
ClosedFormIKSolverURPtr
public ClosedFormIKSolverURPtr(ClosedFormIKSolverUR ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ClosedFormIKSolverURPtr obj)
-
delete
public void delete()
-
deref
public ClosedFormIKSolverUR deref()
The pointer stored in the object.
-
__ref__
public ClosedFormIKSolverUR __ref__()
Dereferencing operator.
-
getDeref
public ClosedFormIKSolverUR getDeref()
Member access operator.
-
equals
public boolean equals(ClosedFormIKSolverUR p)
-
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
-
cptr
public ClosedFormIKSolverURCPtr cptr()
-
solve
public VectorQ solve(Transform3D baseTend, State state)
-
setCheckJointLimits
public void setCheckJointLimits(boolean check)
-
getTCP
public FrameCPtr getTCP()
-
make
public ClosedFormIKPtr make(Device device, State state)
Closed-form IK solver for a device.
The device must be a serial device with 6 revolute joints described
by DH parameters.
The IK solver is currently implemented in terms of PieperSolver. See
the documentation of PieperSolver for the specific requirements for
the DH parameters.
An exception is thrown if closed-form IK for the device is not
supported, except that all such cases are currently not discovered.
You should check for yourself that the closed-form IK for the device
is correct.
-
-