Description

Definition of the Gator assembly.

This class encapsulates a concrete wheeled vehicle model with parameters corresponding to a Gator model E4X2, the powertrain model, and the 4 tires.

#include <Gator.h>

Collaboration diagram for chrono::vehicle::gator::Gator:

Public Member Functions

 Gator (ChSystem *system)
 
void SetContactMethod (ChContactMethod contact_method)
 
void SetCollisionSystemType (ChCollisionSystem::Type collsys_type)
 
void SetChassisFixed (bool val)
 
void SetChassisCollisionType (CollisionType chassis_collision_type)
 
void SetBrakeType (BrakeType brake_type)
 
void SetDrivelineType (DrivelineTypeWV driveline_type)
 
void SetTireType (TireModelType tire_type)
 
void SetTireCollisionType (ChTire::CollisionType collision_type)
 
void SetInitPosition (const ChCoordsys<> &pos)
 
void SetInitFwdVel (double fwdVel)
 
void SetInitWheelAngVel (const std::vector< double > &omega)
 
void SetTireStepSize (double step_size)
 
void EnableBrakeLocking (bool lock)
 
ChSystemGetSystem () const
 
ChWheeledVehicleGetVehicle () const
 
std::shared_ptr< ChChassisGetChassis () const
 
std::shared_ptr< ChBodyAuxRefGetChassisBody () const
 
void Initialize ()
 
void LockAxleDifferential (int axle, bool lock)
 
void SetAerodynamicDrag (double Cd, double area, double air_density)
 
void SetChassisVisualizationType (VisualizationType vis)
 
void SetSuspensionVisualizationType (VisualizationType vis)
 
void SetSteeringVisualizationType (VisualizationType vis)
 
void SetWheelVisualizationType (VisualizationType vis)
 
void SetTireVisualizationType (VisualizationType vis)
 
void Synchronize (double time, const DriverInputs &driver_inputs, const ChTerrain &terrain)
 
void Advance (double step)
 
void LogHardpointLocations ()
 
void DebugLog (int what)
 

Protected Attributes

ChContactMethod m_contact_method
 
ChCollisionSystem::Type m_collsysType
 
CollisionType m_chassis_collision_type
 
bool m_fixed
 
bool m_brake_locking
 
DrivelineTypeWV m_driveline_type
 
BrakeType m_brake_type
 
TireModelType m_tire_type
 
ChTire::CollisionType m_tire_collision_type
 
double m_tire_step_size
 
ChCoordsys m_initPos
 
double m_initFwdVel
 
std::vector< double > m_initOmega
 
bool m_apply_drag
 
double m_Cd
 
double m_area
 
double m_air_density
 
ChSystemm_system
 
Gator_Vehiclem_vehicle
 
double m_tire_mass
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_models/vehicle/gator/Gator.h
  • /builds/uwsbel/chrono/src/chrono_models/vehicle/gator/Gator.cpp