chrono::vehicle::MapSpringDamperActuatorForce Class Reference

Description

Utility class for specifying a map translational spring-damper force with pre-tension.

#include <ChSubsysDefs.h>

Inheritance diagram for chrono::vehicle::MapSpringDamperActuatorForce:
Collaboration diagram for chrono::vehicle::MapSpringDamperActuatorForce:

Public Member Functions

 MapSpringDamperActuatorForce (const std::vector< std::pair< double, double >> &dataK, const std::vector< std::pair< double, double >> &dataC, double f)
 
void add_pointK (double x, double y)
 
void add_pointC (double x, double y)
 
void set_f (double f)
 
virtual double operator() (double time, double rest_length, double length, double vel) override
 Calculate and return the general spring-damper force at the specified configuration.