chrono::ChLinkLimit Class Reference

Description

Class for limits in link joints (for example limits on elbow or knee rotations, etc.) Old code.

Must be improved.

#include <ChLimit.h>

Collaboration diagram for chrono::ChLinkLimit:

Public Member Functions

 ChLinkLimit (const ChLinkLimit &other)
 
ChLinkLimitClone () const
 
bool Get_active () const
 
bool Get_penalty () const
 
bool Get_polar () const
 
bool Get_rotation () const
 
double Get_max () const
 
double Get_min () const
 
double Get_maxCushion () const
 
double Get_minCushion () const
 
double Get_Kmax () const
 
double Get_Kmin () const
 
double Get_Rmax () const
 
double Get_Rmin () const
 
double Get_maxElastic () const
 
double Get_minElastic () const
 
ChFunctionGetModul_Kmax () const
 
ChFunctionGetModul_Kmin () const
 
ChFunctionGetModul_Rmax () const
 
ChFunctionGetModul_Rmin () const
 
ChFunctionGetPolar_Max () const
 
double Get_polar_max (double pol_ang) const
 
void Set_active (bool m_active)
 
void Set_penalty (bool m_active)
 
void Set_polar (bool m_pol)
 
void Set_rotation (bool m_rot)
 
void Set_max (double m_max)
 
void Set_min (double m_min)
 
void Set_maxCushion (double m_maxCushion)
 
void Set_minCushion (double m_minCushion)
 
void Set_Kmax (double m_K)
 
void Set_Kmin (double m_K)
 
void Set_Rmax (double m_R)
 
void Set_Rmin (double m_R)
 
void Set_maxElastic (double m_e)
 
void Set_minElastic (double m_e)
 
void SetModul_Kmax (ChFunction *m_funct)
 
void SetModul_Kmin (ChFunction *m_funct)
 
void SetModul_Rmax (ChFunction *m_funct)
 
void SetModul_Rmin (ChFunction *m_funct)
 
void SetPolar_Max (ChFunction *m_funct)
 
double GetViolation (double x) const
 Return negative violation when x<min, or positive if x>max.
 
double GetForce (double x, double x_dt) const
 
double GetPolarForce (double x, double x_dt, double pol_ang) const
 
void ArchiveOUT (ChArchiveOut &marchive)
 Method to allow serialization of transient data to archives.
 
void ArchiveIN (ChArchiveIn &marchive)
 Method to allow deserialization of transient data from archives.
 

Public Attributes

ChConstraintTwoBodies constr_upper
 
ChConstraintTwoBodies constr_lower