chrono::vehicle::LinearSpringDamperTorque Class Reference

Description

Utility class for specifying a linear rotational spring-damper torque.

#include <ChSubsysDefs.h>

Inheritance diagram for chrono::vehicle::LinearSpringDamperTorque:
Collaboration diagram for chrono::vehicle::LinearSpringDamperTorque:

Public Member Functions

 LinearSpringDamperTorque (double k, double c, double rest_angle=0)
 
virtual double operator() (double time, double angle, double vel, ChLinkRotSpringCB *link) override
 Calculate and return the general spring-damper torque at the specified configuration.