chrono::vehicle::hmmwv::HMMWV_Full Class Reference

Description

Definition of a HMMWV vehicle assembly (vehicle, powertrain, and tires), using full double wishbone suspensions (i.e., suspensions that include rigid bodies for the upper and lower control arms) and a Pitman arm steering mechanism.

#include <HMMWV.h>

Inheritance diagram for chrono::vehicle::hmmwv::HMMWV_Full:
Collaboration diagram for chrono::vehicle::hmmwv::HMMWV_Full:

Public Member Functions

 HMMWV_Full (ChSystem *system)
 
void SetSteeringType (SteeringType val)
 Set the type of steering mechanism (PITMAN_ARM or PITMAN_ARM_SHAFTS. More...
 
void SetRigidSteeringColumn (bool val)
 Force a rigid steering column (PITMAN_ARM_SHAFTS only). More...
 
void LogHardpointLocations ()
 
void DebugLog (int what)
 
- Public Member Functions inherited from chrono::vehicle::hmmwv::HMMWV
void SetContactMethod (ChMaterialSurface::ContactMethod val)
 
void SetChassisFixed (bool val)
 
void SetChassisCollisionType (ChassisCollisionType val)
 
void SetDriveType (DrivelineType val)
 
void SetPowertrainType (PowertrainModelType val)
 
void SetTireType (TireModelType val)
 
void SetTireCollisionType (ChTire::CollisionType collision_type)
 
void SetInitPosition (const ChCoordsys<> &pos)
 
void SetInitFwdVel (double fwdVel)
 
void SetInitWheelAngVel (const std::vector< double > &omega)
 
void SetVehicleStepSize (double step_size)
 
void SetTireStepSize (double step_size)
 
ChSystemGetSystem () const
 
ChWheeledVehicleGetVehicle () const
 
std::shared_ptr< ChChassisGetChassis () const
 
std::shared_ptr< ChBodyAuxRefGetChassisBody () const
 
ChPowertrainGetPowertrain () const
 
ChTireGetTire (WheelID which) const
 
double GetTotalMass () const
 
void Initialize ()
 
void LockAxleDifferential (int axle, bool lock)
 
void LockCentralDifferential (int which, 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, double steering_input, double braking_input, double throttle_input, const ChTerrain &terrain)
 
void Advance (double step)
 

Additional Inherited Members

- Protected Member Functions inherited from chrono::vehicle::hmmwv::HMMWV
 HMMWV (ChSystem *system)
 
- Protected Attributes inherited from chrono::vehicle::hmmwv::HMMWV
ChMaterialSurface::ContactMethod m_contactMethod
 
ChassisCollisionType m_chassisCollisionType
 
bool m_fixed
 
DrivelineType m_driveType
 
PowertrainModelType m_powertrainType
 
TireModelType m_tireType
 
ChTire::CollisionType m_tire_collision_type
 
double m_vehicle_step_size
 
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
 
HMMWV_Vehiclem_vehicle
 
ChPowertrainm_powertrain
 
std::array< ChTire *, 4 > m_tires
 
double m_tire_mass
 

Member Function Documentation

void chrono::vehicle::hmmwv::HMMWV_Full::SetRigidSteeringColumn ( bool  val)

Force a rigid steering column (PITMAN_ARM_SHAFTS only).

Default: false (compliant column).

void chrono::vehicle::hmmwv::HMMWV_Full::SetSteeringType ( SteeringType  val)

Set the type of steering mechanism (PITMAN_ARM or PITMAN_ARM_SHAFTS.

Default: PITMAN_ARM