Open ggould-tri opened 2 years ago
Related discussion in DrakeDevelopers Slack.
Even though the SAP solver models all constraints as compliant, it estimates a stiff set of parameters that prevent ill-conditioning of the problem. Therefore, even when constraint violations are expected (since the underlying model is compliant), these are significantly smaller than when using TAMSI.
This is a highly speculative feature request, and I am creating it mostly to have an issue number to refer to as it continues to vex.
Is your feature request related to a problem? Please describe. We have had frequent confusions about whether Drake joint limits are constraints, ie, users expecting an error if they are violated, or writing code assuming that they represent bounds on the state space.
The correct interpretation -- that limit violations are commonplace and indeed expected in most equilibria -- is counterintuitive, and an error that even the most experienced Drake developers make; it would be foolish to expect our users to understand what even our developers struggle with.
Examples of people being misled by the semantics include:
15765 (proposing an error for violations), and on slack at https://drakedevelopers.slack.com/archives/C2WBPQDB7/p1631224880004600
Describe the solution you'd like
I don't know what the answer is, but I think solutions fall into three buckets:
Describe alternatives you've considered