Skip to content

raisim::contact::TerrainContactLaw ​

struct · #include <raisim/contact/TerrainContactLaw.hpp>

Internal, frozen material history for one mesh quadrature contact during the coupled solve. sinkage is the body's step-start depth below the rest surface; it is below plastic while the body still approaches the rut.

Public member functions ​

pressure ​

cpp
double pressure(double depth, double *derivative=nullptr) const

viscousOrigin ​

cpp
double viscousOrigin() const

Depth where viscous travel starts. An approaching body moves the soil only below the rut.

Public attributes ​

area ​

cpp
double area

sinkage ​

cpp
double sinkage

plastic ​

cpp
double plastic

shear ​

cpp
double shear

modulus ​

cpp
double modulus

exponent ​

cpp
double exponent

elasticStiffness ​

cpp
double elasticStiffness

damping ​

cpp
double damping

cohesion ​

cpp
double cohesion

friction ​

cpp
double friction

shearScale ​

cpp
double shearScale

RaiSim — physics for robotics and AI.