Package org.robwork.sdurwsim
Class SuctionCup
- java.lang.Object
-
- org.robwork.sdurwsim.DynamicDevice
-
- org.robwork.sdurwsim.SuctionCup
-
public class SuctionCup extends DynamicDevice
-
-
Constructor Summary
Constructors Constructor Description SuctionCup(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addForceTorque(Q forceTorque, State state)
void
delete()
BodyPtr
getBaseBody()
BodyPtr
getContactBody(State state)
static long
getCPtr(SuctionCup obj)
BodyPtr
getEndBody()
double
getHeight()
Q
getJointVelocities(State state)
BodyPtrVector
getLinks()
Transform3D
getOffset()
double
getPressure(State state)
double
getRadius()
Q
getSpringParamsClosed()
Q
getSpringParamsOpen()
boolean
isClosed(State state)
void
setClosed(boolean closed, State state)
void
setContactBody(BodyPtr b, State state)
void
setJointVelocities(Q vel, State state)
void
setPressure(double pressure, State state)
-
Methods inherited from class org.robwork.sdurwsim.DynamicDevice
getBase, getCPtr, getKinematicModel, getQ, setQ
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(SuctionCup obj)
-
delete
public void delete()
- Overrides:
delete
in classDynamicDevice
-
getBaseBody
public BodyPtr getBaseBody()
-
getEndBody
public BodyPtr getEndBody()
-
getRadius
public double getRadius()
-
getHeight
public double getHeight()
-
getSpringParamsOpen
public Q getSpringParamsOpen()
-
getSpringParamsClosed
public Q getSpringParamsClosed()
-
getJointVelocities
public Q getJointVelocities(State state)
- Overrides:
getJointVelocities
in classDynamicDevice
-
setJointVelocities
public void setJointVelocities(Q vel, State state)
- Overrides:
setJointVelocities
in classDynamicDevice
-
getOffset
public Transform3D getOffset()
-
getLinks
public BodyPtrVector getLinks()
- Overrides:
getLinks
in classDynamicDevice
-
isClosed
public boolean isClosed(State state)
-
setClosed
public void setClosed(boolean closed, State state)
-
getPressure
public double getPressure(State state)
-
setPressure
public void setPressure(double pressure, State state)
-
-