chrono::vehicle::MapDamperTorque Class Reference

Description

Utility class for specifying a map rotational damper torque.

#include <ChSubsysDefs.h>

Inheritance diagram for chrono::vehicle::MapDamperTorque:
Collaboration diagram for chrono::vehicle::MapDamperTorque:

Public Member Functions

 MapDamperTorque (const std::vector< std::pair< double, double >> &data)
 
void add_point (double x, double y)
 
virtual double evaluate (double time, double angle, double vel, const ChLinkRSDA &link) override
 Calculate and return the general spring-damper torque at the specified configuration. More...
 

Member Function Documentation

◆ evaluate()

virtual double chrono::vehicle::MapDamperTorque::evaluate ( double  time,
double  angle,
double  vel,
const ChLinkRSDA link 
)
inlineoverridevirtual

Calculate and return the general spring-damper torque at the specified configuration.

Parameters
timecurrent time
anglerelative angle of rotation
velrelative angular speed
linkassociated RSDA link

Implements chrono::ChLinkRSDA::TorqueFunctor.


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