-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ct_rbd Kinematics classes with SCALAR type #178
Comments
So far I got to the point, where
seems to give me the properly templated Jacobian.
seems to work as well, but ass soon as I comment out the line
|
As stated in the error message, the problem seems to be the use of the function |
I created a custom System of my Robot using the Dynamics and Kinematics wrappers that ct_rbd provides.
I am retrieving the Jacobian matrix using:
and the inverse of the inertia matrix using
So far I was using the
ct::core::SystemLinearizer
and everything worked well. Now I am trying to switch toct::core::ADCodegenLinearizer
and I get the following error when compiling:Compilation works, if I comment out the part where I retrieve the Jacobian and the inverted Inertia matrix, using only ct::core types that are templated on the SCALAR Type.
My guess would be, that the way I am trying to access the Jacobian and the Inertia is not quite correct and they don't use the SCALAR Type, which results in the above error. It would be great if you could help me out with that one.
The text was updated successfully, but these errors were encountered: