Package org.robwork.sdurwsim
Class RigidDevice
- java.lang.Object
-
- org.robwork.sdurwsim.DynamicDevice
-
- org.robwork.sdurwsim.RigidDevice
-
public class RigidDevice extends DynamicDevice
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRigidDevice.MotorControlMode
-
Constructor Summary
Constructors Constructor Description RigidDevice(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()static longgetCPtr(RigidDevice obj)JointDevicePtrgetJointDevice()QgetJointVelocities(State state)doublegetJointVelocity(int i, State state)BodyPtrVectorgetLinks()QgetMotorForceLimits()RigidDevice.MotorControlModegetMotorMode(int i, State state)doublegetMotorTarget(int i, State state)QgetMotorTargets(State state)voidsetJointVelocities(Q q, State state)voidsetJointVelocity(double vel, int i, State state)voidsetMotorForceLimits(Q force)voidsetMotorForceTarget(double force, int i, State state)voidsetMotorForceTargets(Q force, State state)voidsetMotorTarget(double q, int i, State state)voidsetMotorTargets(Q q, State state)voidsetMotorVelocityTarget(double vel, int i, State state)voidsetMotorVelocityTargets(Q vel, State state)-
Methods inherited from class org.robwork.sdurwsim.DynamicDevice
getBase, getCPtr, getKinematicModel, getQ, setQ
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(RigidDevice obj)
-
delete
public void delete()
- Overrides:
deletein classDynamicDevice
-
setMotorForceLimits
public void setMotorForceLimits(Q force)
-
getMotorForceLimits
public Q getMotorForceLimits()
-
getJointVelocities
public Q getJointVelocities(State state)
- Overrides:
getJointVelocitiesin classDynamicDevice
-
getJointVelocity
public double getJointVelocity(int i, State state)
-
setJointVelocities
public void setJointVelocities(Q q, State state)
- Overrides:
setJointVelocitiesin classDynamicDevice
-
setJointVelocity
public void setJointVelocity(double vel, int i, State state)
-
getMotorMode
public RigidDevice.MotorControlMode getMotorMode(int i, State state)
-
getMotorTarget
public double getMotorTarget(int i, State state)
-
setMotorTarget
public void setMotorTarget(double q, int i, State state)
-
setMotorForceTarget
public void setMotorForceTarget(double force, int i, State state)
-
setMotorVelocityTarget
public void setMotorVelocityTarget(double vel, int i, State state)
-
getJointDevice
public JointDevicePtr getJointDevice()
-
getLinks
public BodyPtrVector getLinks()
- Overrides:
getLinksin classDynamicDevice
-
-