You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<tr class="memdesc:ad253ab790ff8e142080cedd210e982da"><td class="mdescLeft"> </td><td class="mdescRight">Sets the contact model to be used by <code>this</code> MultibodyPlant, see ContactModel for available options. <a href="#ad253ab790ff8e142080cedd210e982da">More...</a><br /></td></tr>
<tr class="memdesc:a217d8aa9218c9d981b7bc2e8a983c4be"><td class="mdescLeft"> </td><td class="mdescRight">Sets the contact solver type used for discrete MultibodyPlant models. <a href="#a217d8aa9218c9d981b7bc2e8a983c4be">More...</a><br /></td></tr>
<tr class="memdesc:ad7698366750a09e383106a17bf9009a2"><td class="mdescLeft"> </td><td class="mdescRight">Returns the contact solver type used for discrete MultibodyPlant models. <a href="#ad7698366750a09e383106a17bf9009a2">More...</a><br /></td></tr>
<p>Sets the discrete contact model approximation. </p>
9303
-
<dl class="section note"><dt>Note</dt><dd>Calling this method also sets the contact solver type (see <a class="el" href="classdrake_1_1multibody_1_1_multibody_plant.html#a217d8aa9218c9d981b7bc2e8a983c4be" title="Sets the contact solver type used for discrete MultibodyPlant models.">set_discrete_contact_solver()</a>) according to:<ul>
9300
+
<dl class="section note"><dt>Note</dt><dd>Calling this method also sets the contact solver type (see <a class="el" href="classdrake_1_1multibody_1_1_multibody_plant.html#ad7698366750a09e383106a17bf9009a2" title="Returns the contact solver type used for discrete MultibodyPlant models.">get_discrete_contact_solver()</a>) according to:<ul>
9304
9301
<li><a class="el" href="namespacedrake_1_1multibody.html#a902306c5e0120a67c07f80e9219a3e8dad454de89727cb520148830aa54cb3a90" title="TAMSI solver, see [Castro et al., 2019].">DiscreteContactApproximation::kTamsi</a> sets the solver to <a class="el" href="namespacedrake_1_1multibody.html#a902306c5e0120a67c07f80e9219a3e8dad454de89727cb520148830aa54cb3a90" title="TAMSI solver, see [Castro et al., 2019].">DiscreteContactSolver::kTamsi</a>.</li>
9305
9302
<li><a class="el" href="namespacedrake_1_1multibody.html#a902306c5e0120a67c07f80e9219a3e8dad48dc7e3221aee2d9e1af665ebfbeeec" title="SAP solver, see [Castro et al., 2022].">DiscreteContactApproximation::kSap</a>, <a class="el" href="namespacedrake_1_1multibody.html#aa1d02176591187cb83e77e9ff779d679ac9a6ebef7049abc9802a9d0705a2e976" title="Similarity approximation found in [Castro et al., 2023].">DiscreteContactApproximation::kSimilar</a> and <a class="el" href="namespacedrake_1_1multibody.html#aa1d02176591187cb83e77e9ff779d679a22387111372cb701adbd49eaa6a28261" title="Approximation in which the normal force is lagged in Coulomb's law, such that ‖γₜ‖ ≤ μ γₙ₀,...">DiscreteContactApproximation::kLagged</a> set the solver to <a class="el" href="namespacedrake_1_1multibody.html#a902306c5e0120a67c07f80e9219a3e8dad48dc7e3221aee2d9e1af665ebfbeeec" title="SAP solver, see [Castro et al., 2022].">DiscreteContactSolver::kSap</a>.</li>
<p>Sets the contact solver type used for discrete MultibodyPlant models. </p>
9335
-
<dl class="section note"><dt>Note</dt><dd>Calling this method also sets a default discrete approximation of contact (see <a class="el" href="classdrake_1_1multibody_1_1_multibody_plant.html#a9b3f429ca991bd1028f4f60d6d5f2e61" title="Sets the discrete contact model approximation.">set_discrete_contact_approximation()</a>) according to:<ul>
9336
-
<li><a class="el" href="namespacedrake_1_1multibody.html#a902306c5e0120a67c07f80e9219a3e8dad454de89727cb520148830aa54cb3a90" title="TAMSI solver, see [Castro et al., 2019].">DiscreteContactSolver::kTamsi</a> sets the approximation to <a class="el" href="namespacedrake_1_1multibody.html#a902306c5e0120a67c07f80e9219a3e8dad454de89727cb520148830aa54cb3a90" title="TAMSI solver, see [Castro et al., 2019].">DiscreteContactApproximation::kTamsi</a>.</li>
9337
-
<li><a class="el" href="namespacedrake_1_1multibody.html#a902306c5e0120a67c07f80e9219a3e8dad48dc7e3221aee2d9e1af665ebfbeeec" title="SAP solver, see [Castro et al., 2022].">DiscreteContactSolver::kSap</a> sets the approximation to <a class="el" href="namespacedrake_1_1multibody.html#a902306c5e0120a67c07f80e9219a3e8dad48dc7e3221aee2d9e1af665ebfbeeec" title="SAP solver, see [Castro et al., 2022].">DiscreteContactApproximation::kSap</a>.</li>
9338
-
</ul>
9339
-
</dd></dl>
9340
-
<dl class="section warning"><dt>Warning</dt><dd>This function is a no-op for continuous models (when is_discrete() is false.) </dd></dl>
9341
-
<dl class="exception"><dt>Exceptions</dt><dd>
9342
-
<table class="exception">
9343
-
<tr><td class="paramname">std::exception</td><td>iff called post-finalize. (Deprecated.) </td></tr>
9344
-
</table>
9345
-
</dd>
9346
-
</dl>
9347
-
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd>Use set_discrete_contact_approximation() to set the contact model approximation. The underlying solver will be inferred automatically. <br />
9348
-
This will be removed from Drake on or after 2024-04-01.</dd></dl>
0 commit comments