Open ferrolho opened 5 years ago
Would be great if you can narrow this down to the specific function that's throwing an error. Looks like it's to do with Rotations.jl, so you might be able to reproduce just with that and none of the RigidBodyDynamics code. You can probably also get rid of the jacobian
function and just use a gradient
or pullback
call (see here for more useful details).
I have been trying to get Zygote to work along with RigidBodyDynamics.jl for computing Jacobians and Hessians of nonlinear functions. I have been trying to compute Jacobians using this function:
This method seems to be working for not-so-complicated functions. However, when I try to target functions using, e.g., Rotations.jl, I get the following error:
Please confer this notebook for a full example that triggers the error shown above.