chrono::vehicle::ChChassis::ExternalForceTorque Class Reference

Description

Base class for a user-defined custom force/torque acting on the chassis body.

#include <ChChassis.h>

Inherited by chrono::vehicle::ChassisDragForce.

Public Member Functions

 ExternalForceTorque (const std::string &name="")
 
virtual void Update (double time, const ChChassis &chassis, ChVector3d &force, ChVector3d &point, ChVector3d &torque)
 The external load is updated at each vehicle synchronization. More...
 

Public Attributes

std::string m_name
 

Member Function Documentation

◆ Update()

virtual void chrono::vehicle::ChChassis::ExternalForceTorque::Update ( double  time,
const ChChassis chassis,
ChVector3d force,
ChVector3d point,
ChVector3d torque 
)
inlinevirtual

The external load is updated at each vehicle synchronization.

A derived class must load the current values for the external force and its application point on the chassis body, both assumed to be provided in the chassis body local frame.


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_vehicle/ChChassis.h