Package org.robwork.sdurwsim
Class RigidBody
- java.lang.Object
-
- org.robwork.sdurwsim.Body
-
- org.robwork.sdurwsim.RigidBody
-
public class RigidBody extends Body
-
-
Constructor Summary
Constructors Constructor Description RigidBody(long cPtr, boolean cMemoryOwn)
-
Method Summary
-
Methods inherited from class org.robwork.sdurwsim.Body
addForce, addForceToPos, addForceW, addForceWToPosW, addTorque, addTorqueW, calcEnergy, getBodyFrame, getCPtr, getForce, getForceW, getFrames, getInertia, getInfo, getMaterialID, getName, getParentFrame, getPointVelW, getTorque, getTorqueW, getTransformW, place, place, pTbf, pTcom, reset, setForce, setForceW, setMass, setMass, setMass, setTorque, setTorqueW, wTbf, wTcom
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(RigidBody obj)
-
getPTBody
public Transform3D getPTBody(State state)
-
setPTBody
public void setPTBody(Transform3D pTb, State state)
-
getWTBody
public Transform3D getWTBody(State state)
-
getWTParent
public Transform3D getWTParent(State state)
-
getLinVelW
public Vector3D getLinVelW(State state)
return the linear velocity described in world frame
-
getMass
public double getMass()
-
getBodyInertia
public InertiaMatrixd getBodyInertia()
-
getBodyInertiaInv
public InertiaMatrixd getBodyInertiaInv()
-
calcInertiaTensorInv
public InertiaMatrixd calcInertiaTensorInv(State state)
-
calcInertiaTensor
public InertiaMatrixd calcInertiaTensor(State state)
-
getMovableFrame
public MovableFrame getMovableFrame()
-
calcEffectiveMass
public InertiaMatrixd calcEffectiveMass(Vector3D wPc, State state)
-
calcEffectiveMassW
public InertiaMatrixd calcEffectiveMassW(Vector3D wPc, State state)
-
-