chrono::vehicle::ChTrackShoeSinglePin Class Referenceabstract

Description

Base class for a single-pin track shoe (template definition).

A single-pin track shoe can be either of CENTRAL_PIN or LATERAL_PIN type.

#include <ChTrackShoeSinglePin.h>

Inheritance diagram for chrono::vehicle::ChTrackShoeSinglePin:
Collaboration diagram for chrono::vehicle::ChTrackShoeSinglePin:

Public Member Functions

 ChTrackShoeSinglePin (const std::string &name)
 
virtual double GetMass () const override
 Get the mass of the track shoe.
 
virtual void Initialize (std::shared_ptr< ChBodyAuxRef > chassis, const ChVector<> &location, const ChQuaternion<> &rotation) override
 Initialize this track shoe subsystem. More...
 
virtual void Connect (std::shared_ptr< ChTrackShoe > next) override
 Connect this track shoe to the specified neighbor. More...
 
virtual void AddVisualizationAssets (VisualizationType vis) override
 Add visualization assets for the track-shoe subsystem.
 
virtual void RemoveVisualizationAssets () overridefinal
 Remove visualization assets for the track-shoe subsystem.
 
- Public Member Functions inherited from chrono::vehicle::ChTrackShoe
 ChTrackShoe (const std::string &name)
 
virtual GuidePinType GetType () const =0
 Return the type of track shoe (guiding pin). More...
 
std::shared_ptr< ChBodyGetShoeBody () const
 Get a handle to the shoe body.
 
virtual double GetHeight () const =0
 Return the height of the track shoe.
 
virtual double GetPitch () const =0
 Return the pitch length of the track shoe. More...
 
size_t GetIndex () const
 Get the index of this track shoe within its containing track assembly.
 
void SetCollide (bool val)
 Turn on/off collision flag for the shoe body.
 
- 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.
 
void SetContactFrictionCoefficient (float friction_coefficient)
 Set coefficient of friction. More...
 
void SetContactRestitutionCoefficient (float restitution_coefficient)
 Set coefficient of restitution. More...
 
void SetContactMaterialProperties (float young_modulus, float poisson_ratio)
 Set contact material properties. More...
 
void SetContactMaterialCoefficients (float kn, float gn, float kt, float gt)
 Set contact material coefficients. More...
 
float GetCoefficientFriction () const
 Get coefficient of friction for contact material.
 
float GetCoefficientRestitution () const
 Get coefficient of restitution for contact material.
 
float GetYoungModulus () const
 Get Young's modulus of elasticity for contact material.
 
float GetPoissonRatio () const
 Get Poisson ratio for contact material.
 
float GetKn () const
 Get normal stiffness coefficient for contact material.
 
float GetKt () const
 Get tangential stiffness coefficient for contact material.
 
float GetGn () const
 Get normal viscous damping coefficient for contact material.
 
float GetGt () const
 Get tangential viscous damping coefficient for contact material.
 

Protected Member Functions

virtual double GetShoeMass () const =0
 Return the mass of the shoe body.
 
virtual const ChVectorGetShoeInertia () const =0
 Return the moments of inertia of the shoe body.
 
virtual double GetFrontCylinderLoc () const =0
 Return the location of the front contact cylinder. More...
 
virtual double GetRearCylinderLoc () const =0
 Return the location of the rear contact cylinder. More...
 
virtual double GetCylinderRadius () const =0
 Return the radius of the contact cylinders.
 
virtual const ChVectorGetPadBoxDimensions () const =0
 Return dimensions and locations of the contact boxes for the shoe and guiding pin. More...
 
virtual const ChVectorGetPadBoxLocation () const =0
 
virtual const ChVectorGetGuideBoxDimensions () const =0
 
virtual const ChVectorGetGuideBoxLocation () const =0
 
virtual void AddShoeContact ()
 Add contact geometry for the track shoe. More...
 
- Protected Member Functions inherited from chrono::vehicle::ChTrackShoe
void SetIndex (size_t index)
 Set the index of this track shoe within its containing track assembly.
 

Friends

class ChSprocketSinglePin
 
class ChTrackAssemblySinglePin
 

Additional Inherited Members

- Protected Attributes inherited from chrono::vehicle::ChTrackShoe
size_t m_index
 index of this track shoe within its containing track assembly
 
std::shared_ptr< ChBodym_shoe
 handle to the shoe body
 
- Protected Attributes inherited from chrono::vehicle::ChPart
std::string m_name
 
float m_friction
 contact coefficient of friction
 
float m_restitution
 contact coefficient of restitution
 
float m_young_modulus
 contact material Young modulus
 
float m_poisson_ratio
 contact material Poisson ratio
 
float m_kn
 normal contact stiffness
 
float m_gn
 normal contact damping
 
float m_kt
 tangential contact stiffness
 
float m_gt
 tangential contact damping
 

Constructor & Destructor Documentation

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

Member Function Documentation

void chrono::vehicle::ChTrackShoeSinglePin::AddShoeContact ( )
protectedvirtual

Add contact geometry for the track shoe.

Note that this is for contact with wheels, idler, and ground only. This contact geometry does not affect contact with the sprocket. The default implementation uses contact boxes for the pad and central guiding pin.

void chrono::vehicle::ChTrackShoeSinglePin::Connect ( std::shared_ptr< ChTrackShoe next)
overridevirtual

Connect this track shoe to the specified neighbor.

This function must be called only after both track shoes have been initialized.

Parameters
[in]nexthandle to the neighbor track shoe

Implements chrono::vehicle::ChTrackShoe.

virtual double chrono::vehicle::ChTrackShoeSinglePin::GetFrontCylinderLoc ( ) const
protectedpure virtual

Return the location of the front contact cylinder.

This location is relative to the shoe reference frame (in the positive x direction)

Implemented in chrono::vehicle::TrackShoeSinglePin.

virtual const ChVector& chrono::vehicle::ChTrackShoeSinglePin::GetPadBoxDimensions ( ) const
protectedpure virtual

Return dimensions and locations of the contact boxes for the shoe and guiding pin.

Note that this is for contact with wheels, idler, and ground only. This contact geometry does not affect contact with the sprocket.

Implemented in chrono::vehicle::TrackShoeSinglePin.

virtual double chrono::vehicle::ChTrackShoeSinglePin::GetRearCylinderLoc ( ) const
protectedpure virtual

Return the location of the rear contact cylinder.

This location is relative to the shoe reference frame (in the negative x direction)

Implemented in chrono::vehicle::TrackShoeSinglePin.

void chrono::vehicle::ChTrackShoeSinglePin::Initialize ( std::shared_ptr< ChBodyAuxRef chassis,
const ChVector<> &  location,
const ChQuaternion<> &  rotation 
)
overridevirtual

Initialize this track shoe subsystem.

The track shoe is created within the specified system and initialized at the specified location and orientation (expressed in the global frame). A derived class must extend this default implementation and specify the contact geometry for the track shoe body.

Parameters
[in]chassishandle to the chassis body
[in]locationlocation relative to the chassis frame
[in]rotationorientation relative to the chassis frame

Implements chrono::vehicle::ChTrackShoe.