MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / SetSolRef

Method SetSolRef

Source/URLab/Public/MuJoCo/Utils/MjBind.h:142–149  ·  view source on GitHub ↗

@brief Sets the contact solver reference parameters (time constant, damping ratio). */

Source from the content-addressed store, hash-verified

140
141 /** @brief Sets the contact solver reference parameters (time constant, damping ratio). */
142 void SetSolRef(float TimeConst, float DampRatio)
143 {
144 if (geom_solref)
145 {
146 geom_solref[0] = (mjtNum)TimeConst;
147 geom_solref[1] = (mjtNum)DampRatio;
148 }
149 }
150
151 /** @brief Sets the contact solver impedance parameters. */
152 void SetSolImp(float Dmin, float Dmax, float Width)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected