217 virtual bool preUpdate(
agx::Real timeStep)
override;
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Single disk plate clutch with dry friction.
void calculateTorqueCapacity(agx::Real maxForce, agx::Real mu, agx::Real radii[2])
Calculate the torque capacity based on the geometric and physical parameters of the clutch.
void setAutoLock(bool autoLock)
In auto lock mode, the clutch will lock when the slip is small enough in proportion to the velocity o...
void setTorqueCapacity(agx::Real capacity)
This is the maximum torque that the clutch can transfer: it will slip if this is exceeded.
agx::Real getTorque() const
bool isManualMode() const
agx::Real getInputVelocity() const
agx::Real getSlip() const
void setFraction(agx::Real fraction)
agx::Real getMinRelativeSlip() const
void setManualMode(bool manual)
When manual mode is false, user must control all aspects of the clutch engagement and disengagement.
agx::Real getTorqueCapacity() const
agx::Real getTimeConstant() const
void setEngage(bool engage)
Puts the clutch in assisted mode so it will fully engage or disengage in a time determined by setTime...
agx::Real getOutputVelocity() const
void setTimeConstant(agx::Real tau)
Set the time constant for clutch engagement and disengagement.
bool isLocked() const
Returns the lock status.
void setMinRelativeSlip(agx::Real minRelativeSlip)
In autolock mode, the clutch will lock with the ratio of slip to input shaft velocity is less than th...
void setLock(bool setLock)
Lock or unlock the clutch.
agx::Real getFraction() const
Constraint implementation for constraining a number of physical dimensions of the same type.
Defines a stiff gear constraint between two rotational dimensions.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Abstract base class for storing/restoring a line/drums with version control.
Smart pointer for handling referenced counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
A library of agxPowerLine components designed to model the various parts of a vehicle drive train.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.