chrono::vehicle::MapSpringTorque Class Reference
Description
Utility class for specifying a map rotational spring torque.
#include <ChSubsysDefs.h>
Inheritance diagram for chrono::vehicle::MapSpringTorque:
Collaboration diagram for chrono::vehicle::MapSpringTorque:
Public Member Functions | |
MapSpringTorque (double rest_angle=0, double preload=0) | |
MapSpringTorque (const std::vector< std::pair< double, double >> &data, double rest_angle=0, double preload=0) | |
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()
|
overridevirtual |
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 associated RSDA link
Implements chrono::ChLinkRSDA::TorqueFunctor.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_vehicle/ChSubsysDefs.h
- /builds/uwsbel/chrono/src/chrono_vehicle/ChSubsysDefs.cpp