Some problems during URDF import process #2179
Closed
liuxiaoyiyixiaoliu
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi, Yeah this function actually returns a tuple (it says buildModels plural and returns the Model and at least a GeometryModel object). The right version to call in Python would be buildModelFromUrdf (no extra s here) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
But when I transplanted it to python, I got the following error after importing URDF,I use the command
conda install pinocchio -c conda-forge to install Pinocchio , the version is 2.7.0
model=pinocchio.buildModelsFromUrdf("/home/liuyi/文档/proj_robot/src/macro_arm6/urdf/macro_arm6.urdf")
data= model.createData()
output:
AttributeError: 'tuple' object has no attribute 'createData'
Beta Was this translation helpful? Give feedback.
All reactions