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

Method SetSolImp

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

@brief Sets the contact solver impedance parameters. */

Source from the content-addressed store, hash-verified

150
151 /** @brief Sets the contact solver impedance parameters. */
152 void SetSolImp(float Dmin, float Dmax, float Width)
153 {
154 if (geom_solimp)
155 {
156 geom_solimp[0] = (mjtNum)Dmin;
157 geom_solimp[1] = (mjtNum)Dmax;
158 geom_solimp[2] = (mjtNum)Width;
159 }
160 }
161
162 FString ToString() const
163 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected