|
Momentum Scripting v1
|
#include <BallJoint.h>
Public Types | |
| enum | DegreeOfFreedom { X , Y , Z } |
Protected Member Functions | |
| virtual int | getAgxRotationalDOF (Joint::DegreeOfFreedom dof) const |
| virtual int | getAgxTranslationalDOF (Joint::DegreeOfFreedom dof) const |
| agx::Real | getDampingInternal (int agxDOF) const |
| void | setDampingInternal (int agxDOF, double damping) |
The ball joint class, a joint where all the rotational axis are unconstrained.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedvirtual |
Reimplemented from MOMENTUM_NAMESPACE::Joint.
|
protectedvirtual |
Reimplemented from MOMENTUM_NAMESPACE::Joint.
|
inherited |
Return the body at position 0 or 1, 1 can be nullptr, if that is the case, it is attached to world.
| body | - 0 for first body, 1 for second |
|
inherited |
Get the force that the joint exerts on the specified body in the frame of the body, in newton.
| body | - 0 for first body, 1 for second |
|
inherited |
Get the torque that the joint exerts on the specified body in the frame of the body, in newton-meters.
| body | - 0 for first body, 1 for second |
|
protectedinherited |
|
inherited |
Is the joint is enabled?
|
inherited |
Get the name of the Joint.
|
inherited |
Get the rotational damping along the axis of the joint, in newton-meter-seconds per radian.
| dof | the degree of freedom to get the damping of |
|
inherited |
Get the rotational elasticity along the axis of the joint, in newton per radian.
| dof | the degree of freedom to get the elasticity of |
|
inherited |
Get the transformation in the world frame of the attachment of specified body.
| body | - 0 for first body, 1 for second |
|
inherited |
Get the translational damping along the axis of the joint, in newton-seconds per meter.
| dof | the degree of freedom to get the damping of |
|
inherited |
Get the translational elasticity along the axis of the joint.
It is returned in newton per meter.
| dof | - select which dof for which the elasticity will be returned |
|
inherited |
|
protectedinherited |
|
inherited |
Set to true if the joint should be enabled and should interact with the simulation.
| enabled | - if true the joint should interact with the simulation |
Only available in simulation mode
|
inherited |
Set the rotational damping along the axis of the joint, in newton-meter-seconds per radian.
| dof | the degree of freedom to set the damping of |
| damping | new the rotational damping |
Only available in simulation mode
|
inherited |
Set the rotational elasticity along the axis of the joint, in newton per radian.
| dof | the degree of freedom to set the elasticity of |
| elasticity | the new rotational elasticity |
Only available in simulation mode
|
inherited |
Set the attachment transformation in the world frame of the specified body.
| body | - 0 for first body, 1 for second |
| transform | - the new transformation of the attachment |
Only available in simulation mode
|
inherited |
Set the translational damping along the axis of the joint, in newton-seconds per meter.
| dof | the degree of freedom to set the damping of |
| damping | the new translational damping |
Only available in simulation mode
|
inherited |
Set the translational elasticity along the axis of the joint, in newton per meter.
| dof | the degree of freedom to set the elasticity of |
| elasticity | the new translational elasticity |
Only available in simulation mode