nimblephysics icon indicating copy to clipboard operation
nimblephysics copied to clipboard

return `LcpResult` in `solveLcp`

Open michguo opened this issue 2 years ago • 0 comments

Defines a struct that solveLcp() returns called LcpResult, and stores all useful information from solveLcp() inside of this struct.

Notes:

  • This branch should only be merged after merging in #72. The reason is that #72 changes the type of impulses from a vector to a matrix, and this PR assumes that the type of impulses is a matrix. Without merging in #72, your code will not build successfully.

michguo avatar Mar 24 '22 16:03 michguo