Skip to content

Commit

Permalink
Refactors SAP solver in prep for the propagation of gradients (RobotL…
Browse files Browse the repository at this point in the history
…ocomotion#21414)

There are essentially two changes:
  1. struct SolverStats is no longer nested in SapSolver but is now
     refactored to SapSolverStats.
  2. SapSolver<T>::model_ is not longer a member. A SapModel is now
     created with each call to SolveWithGuess. We pass "model" as
     needed by argument.
  • Loading branch information
amcastro-tri authored and RussTedrake committed Dec 15, 2024
1 parent 882282b commit 5825b8b
Show file tree
Hide file tree
Showing 3 changed files with 225 additions and 184 deletions.
Loading

0 comments on commit 5825b8b

Please sign in to comment.