You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call buildModel<float> for ModelTpl<float> with a urdf file, the code has a compilation error saying:
error: no matching function for call to 'parseRootTree'
details::parseRootTree(filename, visitor);
candidate function not viable: no known conversion from 'details::UrdfVisitor<float, 0, pinocchio::JointCollectionDefaultTpl>' to 'pinocchio::urdf::details::UrdfVisitorBase &' (aka 'UrdfVisitorBaseTpl<double, 0> &') for 2nd argument
void PINOCCHIO_DLLAPI parseRootTree(const std::string & filename,
I think this is a bug since parseRootTree takes UrdfVisitorBase instead of UrdfVisitorBaseTpl.
Bug description
When I call
buildModel<float>
forModelTpl<float>
with aurdf
file, the code has a compilation error saying:I think this is a bug since
parseRootTree
takesUrdfVisitorBase
instead ofUrdfVisitorBaseTpl
.Expected behavior
Create float type model and load urdf file.
Reproduction steps
Steps to reproduce the behavior:
System
The text was updated successfully, but these errors were encountered: