|
AGXDynamics
2.31.1.0
|
Class to hold specific parameters for the wire - this makes the wires highly configurable. More...
#include <WireParameterController.h>
Classes | |
| struct | WinchPrismaticCompliance |
| Structure with compliance parameters for the prismatic constraint used by winches. More... | |
Public Member Functions | |
| WireParameterController () | |
| ~WireParameterController () | |
| agx::Real | getMaximumContactMovementOneTimestep () const |
| agx::Real | getMinimumDistanceBetweenNodes () const |
| agx::Real | getNonScaledRadiusMultiplier () const |
| agx::Real | getRadiusMultiplier (agx::Real wireRadius) const |
| agx::Real | getScaleConstant () const |
| agx::Real | getSensorRadius (agx::Real wireRadius) const |
| agx::Real | getSplitTensionMultiplier () const |
| agx::Real | getStopNodeLumpMinDistanceFraction () const |
| agx::Real | getStopNodeReferenceDistance () const |
| agx::Real | getWireContactDynamicsSolverDampingScale () const |
| void | resetToDefault () |
| Reset all parameters to default. More... | |
| void | setMaximumContactMovementOneTimestep (agx::Real maxMovement) |
| This value should be related the size of objects the wire is interacting with, to avoid tunneling If we are simulating. More... | |
| void | setMinimumDistanceBetweenNodes (agx::Real minDistanceBetweenNodes) |
| Set the minimum distance allowed between nodes. More... | |
| void | setRadiusMultiplier (agx::Real radiusMultiplier) |
| Set the wire sphere geometry radius multiplier. More... | |
| void | setScaleConstant (agx::Real scaleConstant) |
| The scale constant controls the insert/remove of lumped nodes in a wire. More... | |
| void | setSplitTensionMultiplier (agx::Real multiplier) |
| Set a multiplier for tension scaling when deciding if a constraint could be replaced with a force. More... | |
| void | setStopNodeLumpMinDistanceFraction (agx::Real stopNodeLumpMinDistanceFraction) |
| Set the fraction of stop node reference distance that defines the range end of the prismatic constraint used by most winches. More... | |
| void | setStopNodeReferenceDistance (agx::Real stopNodeReferenceDistance) |
| Set the distance between the lump node and the stop node for winches. More... | |
| void | setWireContactDynamicsSolverDampingScale (agx::Real scale) |
| Set a scale for the damping of the dynamics solver for ShapeContactNodes This will scale the damping of the damping found in the material parameters for an interaction of a wire/other contact. More... | |
Class to hold specific parameters for the wire - this makes the wires highly configurable.
Definition at line 37 of file WireParameterController.h.
| agxWire::WireParameterController::WireParameterController | ( | ) |
| agxWire::WireParameterController::~WireParameterController | ( | ) |
|
inline |
Definition at line 320 of file WireParameterController.h.
|
inline |
Definition at line 249 of file WireParameterController.h.
|
inline |
Definition at line 298 of file WireParameterController.h.
|
inline |
Definition at line 303 of file WireParameterController.h.
References agxAssert, agx::clamp(), agx::equalsZero(), and MAXIMUM_DISTANCE_BETWEEN_NODE_AND_GEOMETRY.
|
inline |
Definition at line 286 of file WireParameterController.h.
Definition at line 325 of file WireParameterController.h.
| agx::Real agxWire::WireParameterController::getSplitTensionMultiplier | ( | ) | const |
|
inline |
Definition at line 272 of file WireParameterController.h.
|
inline |
Definition at line 260 of file WireParameterController.h.
| agx::Real agxWire::WireParameterController::getWireContactDynamicsSolverDampingScale | ( | ) | const |
| void agxWire::WireParameterController::resetToDefault | ( | ) |
Reset all parameters to default.
|
inline |
This value should be related the size of objects the wire is interacting with, to avoid tunneling If we are simulating.
Definition at line 314 of file WireParameterController.h.
|
inline |
Set the minimum distance allowed between nodes.
I.e., a lumped element node will NOT be created closer than this distance from routed nodes. Default: 0.05. Valid: Real > 0.
| minDistanceBetweenNodes | - new minimum distance between nodes definition |
Definition at line 242 of file WireParameterController.h.
References agxAssert.
Set the wire sphere geometry radius multiplier.
It's convenient to have larger geometry spheres for the lumped elements in a wire. It looks more natural and it helps the contact handling in the wires. Default: 1.5. Valid: Real > 0.
| radiusMultiplier | - wire lump geometry sphere radius multiplier |
Definition at line 292 of file WireParameterController.h.
References agxAssert.
The scale constant controls the insert/remove of lumped nodes in a wire.
The parameter has an analytical value derived given the Nyquist frequency. The probability to have more lumped nodes in the wire increases with this scale constant. Default: 0.35. Valid: Real > 0.
| scaleConstant | - new scale constant (Default: 0.35) |
Definition at line 279 of file WireParameterController.h.
References agxAssert.
Set a multiplier for tension scaling when deciding if a constraint could be replaced with a force.
|
inline |
Set the fraction of stop node reference distance that defines the range end of the prismatic constraint used by most winches.
Default: 0.05 which means 5 cm if stop node reference distance is 1 m.
| stopNodeLumpMinDistanceFraction | - fraction of the stop node reference distance to define the length of the prismatic range |
Definition at line 266 of file WireParameterController.h.
|
inline |
Set the distance between the lump node and the stop node for winches.
This also defines the theoretic maximum speed, in fact, in practice the speed can be higher but the behavior can be strange. Default: 1 m, equivalent to winch speed of 60 m/s in 60 Hz.
| stopNodeReferenceDistance | - distance between the lump node and stop node for winches |
Definition at line 255 of file WireParameterController.h.
Set a scale for the damping of the dynamics solver for ShapeContactNodes This will scale the damping of the damping found in the material parameters for an interaction of a wire/other contact.