Reputation: 51
I'm trying to import SpatialForce
for my code but it keeps failing with the error
ImportError: C++ type is not registered in pybind: N5Eigen14AutoDiffScalarINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEE
Simply running
from pydrake.multibody.math import SpatialForce
or
import pydrake.multibody.math
in a python interpreter causes this error. Any idea what is causing this?
Upvotes: 3
Views: 106
Reputation: 2004
Fixed it in the following PR:
https://github.com/RobotLocomotion/drake/pull/14072
(Also added in a new test to try and catch things like this in the future!)
Thanks!
Upvotes: 1