39 DESIRED_SPEED_DIFF = NUM_MERGE_THRESHOLDS,
87 agx::Real getMaxDesiredLockAngleDiff()
const;
99 agx::Real getMaxDesiredRangeAngleDiff()
const;
111 agx::Real getMaxDesiredForceRangeDiff()
const;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXPHYSICS_EXPORT
Specific thresholds used to split and merge objects given constraints.
ConstraintMergeSplitThresholds()
Default constructor, all thresholds will be set to default.
agx::Real getMaxRelativeSpeed() const
When the relative motion between the objects is less than this threshold, the objects may merge.
virtual ~ConstraintMergeSplitThresholds()
Reference counted object - protected destructor.
@ DESIRED_LOCK_ANGLE_DIFF
@ DESIRED_RANGE_ANGLE_DIFF
@ DESIRED_FORCE_RANGE_DIFF
agx::Real getMaxDesiredSpeedDiff() const
agx::Real getMaxDesiredLockAngleDiff() const
virtual void resetToDefault() override
Resets all values to default.
void setMaxDesiredRangeAngleDiff(agx::Real value)
Assign maximum difference the 'position'/desired angle parameter in a range controller may change wit...
void setMaxDesiredForceRangeDiff(agx::Real value)
Assign maximum difference the 'force range'/desired force range parameter in any controller may chang...
agx::Real getMaxDesiredForceRangeDiff() const
void setMaxDesiredLockAngleDiff(agx::Real value)
Assign maximum difference the 'position'/desired angle parameter in a lock controller may change with...
void setMaxDesiredSpeedDiff(agx::Real value)
Assign maximum difference the 'speed'/desired speed parameter in a motor controller may change withou...
agx::Real getMaxDesiredRangeAngleDiff() const
virtual agx::ICloneableRef clone(agx::ICloneable *child=nullptr) override
Creates and returns a clone of this object.
void setMaxRelativeSpeed(agx::Real value)
Assign maximum relative speed between the constrained objects for the system to be considered at rest...
Base class for thresholds/constants/values used in agxSDK::MergeSplitAlgorithm.
agx::Real get(const agx::UInt index) const
Interface class for a cloneable reference counted object.
Smart pointer for handling referenced counted objects.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...