#include <sdcontact.h>
|
| void | AddPoint (double *coord, double *normal, double depth) |
| |
| void | Clear () |
| |
| const fVec3 & | Coord (int index) |
| |
| double | Depth (int index) |
| |
| Joint * | GetJoint (int index) |
| |
| const fVec3 & | Normal (int index) |
| |
| int | NumPoints () |
| |
| | SDContactPair (Joint *_jnt1, Joint *_jnt2, double _spring=1e5, double _damper=10.0, double _static_fric=0.0, double _slip_fric=0.0, double _slip_p=2000.0, double _slip_d=700.0, double _slip_func_coef_base=0.1) |
| |
| void | SetDamper (double _damper) |
| |
| void | SetSlipFric (double _slip_fric) |
| |
| void | SetSpring (double _spring) |
| |
| void | SetStaticFric (double _static_fric) |
| |
| double | SlipFric () |
| |
| double | StaticFric () |
| |
| int | Update (double timestep, int n_contact, double **coords, double **normals, double *depths) |
| |
| | ~SDContactPair () |
| |
Definition at line 23 of file sdcontact.h.
| SDContactPair::SDContactPair |
( |
Joint * |
_jnt1, |
|
|
Joint * |
_jnt2, |
|
|
double |
_spring = 1e5, |
|
|
double |
_damper = 10.0, |
|
|
double |
_static_fric = 0.0, |
|
|
double |
_slip_fric = 0.0, |
|
|
double |
_slip_p = 2000.0, |
|
|
double |
_slip_d = 700.0, |
|
|
double |
_slip_func_coef_base = 0.1 |
|
) |
| |
|
inline |
| SDContactPair::~SDContactPair |
( |
| ) |
|
|
inline |
| void SDContactPair::AddPoint |
( |
double * |
coord, |
|
|
double * |
normal, |
|
|
double |
depth |
|
) |
| |
|
inline |
| void SDContactPair::Clear |
( |
| ) |
|
|
inline |
| double SDContactPair::Depth |
( |
int |
index | ) |
|
|
inline |
| Joint* SDContactPair::GetJoint |
( |
int |
index | ) |
|
|
inline |
| int SDContactPair::NumPoints |
( |
| ) |
|
|
inline |
| int SDContactPair::set_init |
( |
| ) |
|
|
protected |
| void SDContactPair::SetDamper |
( |
double |
_damper | ) |
|
|
inline |
| void SDContactPair::SetSlipFric |
( |
double |
_slip_fric | ) |
|
|
inline |
| void SDContactPair::SetSpring |
( |
double |
_spring | ) |
|
|
inline |
| void SDContactPair::SetStaticFric |
( |
double |
_static_fric | ) |
|
|
inline |
| double SDContactPair::SlipFric |
( |
| ) |
|
|
inline |
| double SDContactPair::StaticFric |
( |
| ) |
|
|
inline |
| int SDContactPair::Update |
( |
double |
timestep, |
|
|
int |
n_contact, |
|
|
double ** |
coords, |
|
|
double ** |
normals, |
|
|
double * |
depths |
|
) |
| |
| int SDContactPair::update |
( |
double |
timestep, |
|
|
int |
n_contact, |
|
|
double * |
coord, |
|
|
double * |
normal, |
|
|
double |
depth |
|
) |
| |
|
protected |
| std::vector<fVec3> SDContactPair::coords |
|
protected |
| double SDContactPair::damper |
|
protected |
| std::vector<double> SDContactPair::depths |
|
protected |
| int SDContactPair::in_slip |
|
protected |
| fMat33 SDContactPair::init_att |
|
protected |
| fVec3 SDContactPair::init_pos |
|
protected |
| int SDContactPair::init_set |
|
protected |
| Joint* SDContactPair::joints[2] |
|
protected |
| std::vector<fVec3> SDContactPair::normals |
|
protected |
| double SDContactPair::slip_d |
|
protected |
| double SDContactPair::slip_fric |
|
protected |
| double SDContactPair::slip_func_coef_base |
|
protected |
| double SDContactPair::slip_p |
|
protected |
| double SDContactPair::spring |
|
protected |
| double SDContactPair::static_fric |
|
protected |
The documentation for this class was generated from the following files: