chrono::vehicle::LinearSpringTorque Class Reference
Description
Utility class for specifying a linear rotational spring torque.
#include <ChSubsysDefs.h>
Inheritance diagram for chrono::vehicle::LinearSpringTorque:
Collaboration diagram for chrono::vehicle::LinearSpringTorque:
Public Member Functions | |
LinearSpringTorque (double k, 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. More... | |
Member Function Documentation
◆ operator()()
|
inlineoverridevirtual |
Calculate and return the general spring-damper torque at the specified configuration.
- Parameters
-
time current time angle relative angle of rotation vel relative angular speed link back-pointer to associated link
Implements chrono::ChLinkRotSpringCB::TorqueFunctor.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_vehicle/ChSubsysDefs.h