chrono::vehicle::ChTrackBrakeSimple Class Referenceabstract

Description

Simple brake created with constant torque opposing sprocket rotation.

#include <ChTrackBrakeSimple.h>

Inheritance diagram for chrono::vehicle::ChTrackBrakeSimple:
Collaboration diagram for chrono::vehicle::ChTrackBrakeSimple:

Public Member Functions

 ChTrackBrakeSimple (const std::string &name)
 
virtual void Initialize (std::shared_ptr< ChLinkLockRevolute > hub) override
 Initialize the brake by providing the sprocket's revolute link.
 
virtual void Synchronize (double braking) override
 Update the brake subsystem for the given braking driver input. More...
 
virtual double GetBrakeTorque () override
 Get the current brake torque.
 
double GetBrakeSpeed ()
 Get the current brake angular speed (between disc and caliper) [rad/s].
 
- Public Member Functions inherited from chrono::vehicle::ChTrackBrake
 ChTrackBrake (const std::string &name)
 
- Public Member Functions inherited from chrono::vehicle::ChPart
 ChPart (const std::string &name)
 Construct a vehicle subsystem with the specified name. More...
 
const std::string & GetName () const
 Get the name identifier for this track shoe subsystem.
 
void SetName (const std::string &name)
 Set the name identifier for this track shoe subsystem.
 
void SetVisualizationType (VisualizationType vis)
 Set the visualization mode for this subsystem.
 
virtual void AddVisualizationAssets (VisualizationType vis)
 Add visualization assets to this subsystem, for the specified visualization mode.
 
virtual void RemoveVisualizationAssets ()
 Remove all visualization assets from this subsystem.
 

Protected Member Functions

virtual double GetMaxBrakingTorque ()=0
 Get the max braking torque (for braking = 1)
 

Protected Attributes

double m_braking
 
std::shared_ptr< ChLinkBrakem_brake
 
- Protected Attributes inherited from chrono::vehicle::ChPart
std::string m_name
 

Constructor & Destructor Documentation

chrono::vehicle::ChTrackBrakeSimple::ChTrackBrakeSimple ( const std::string &  name)
Parameters
[in]namename of the subsystem

Member Function Documentation

void chrono::vehicle::ChTrackBrakeSimple::Synchronize ( double  braking)
overridevirtual

Update the brake subsystem for the given braking driver input.

braking = 0 : completely free, braking = 1 : provide maximum braking torque

Implements chrono::vehicle::ChTrackBrake.