Closed matheecs closed 1 year ago
You're absolutely right that I should be using the gradients passed in. Thanks!
It happens that our current snopt solver will only ever call this method with the gradients in vars trivially initialized (so ExtractGradient(q)
returns the identity). I'll PR the fixed version based on your idea.
Hi @RussTedrake, the
littledog.ipynb
is a great demo about trajectory optimization. But I have a question about the calculation of jacobianJq_WF
:Does it need to be change to
Jq_WF @ ExtractGradient(q)
?Thanks