200 bool preUpdate(
agx::Real timeStep) override;
205 virtual
bool addNotification(
agxSDK::Simulation* simulation) override;
210 virtual
bool removeNotification(
agxUtil::ConstraintHolder* constraintHolder,
agxSDK::Simulation* simulation) override;
215 virtual
bool store(
agxStream::StorageStream& str) const override;
220 virtual
bool postStore(
agxStream::StorageStream& str) const override;
225 virtual
bool restore(
agxStream::StorageStream& str) override;
230 virtual
bool postRestore(
agxStream::StorageStream& str) override;
239 agx::Real m_torqueCapacity;
243 agx::Real m_engageTimeConstant;
244 agx::Real m_disengageTimeConstant;
245 agx::Real m_minRelativeSlip;
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
agx::Real getTorqueCapacity() const
void setFraction(agx::Real fraction)
void setEngageTimeConstant(agx::Real tau)
Set the time constant for the brake engagement.
agx::Real getEngageTimeConstant() const
void setDisengageTimeConstant(agx::Real tau)
Set the time constant for brake disengagement.
agx::Real getTorque() const
void setMinRelativeSlip(agx::Real minRelativeSlip)
In autolock mode, the friction plates will lock with the ratio of slip is less than this threshold.
void setTorqueCapacity(agx::Real capacity)
This is the maximum torque that the brake plates can transfer: it will slip if this MinRelativeSlip i...
agx::Real getDisengageTimeConstant() const
bool isLocked() const
Returns the lock status.
bool isManualMode() const
agx::Real getFraction() const
agx::Real getInputVelocity() const
agxDriveTrain::VelocityConstraint * getConstraint()
void setAutoLock(bool autoLock)
In auto lock mode, the friction plates will lock when the slip is small enough.
void setEngage(bool engage)
Puts the brake pedal in assisted mode so it will fully engage or disengage in a time period determine...
void setManualMode(bool manual)
When manual mode is true, user must control all aspects of the brake engagement and disengagement.
void setLock(bool setLock)
Lock or unlock the brake.
const agxDriveTrain::VelocityConstraint * getConstraint() const
agx::Real getMinRelativeSlip() const
Brake()
This model represents a brake system with dry friction between a brake pad and a rotational plate.
A Shaft is the most basic PowerLine Unit.
A constraint holding a single VelocityConstraintImplementation.
#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 agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
The agxUtil namespace contain classes and methods for utility functionality.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.