Closed nim65s closed 4 years ago
Hi,
Some robots in https://github.com/gepetto/example-robot-data have their urdf data in a robots directory instead of a urdf one.
robots
urdf
According to https://gitlab.laas.fr/stack-of-tasks/talos-data/-/issues/2#note_9710, this should not be a big issue, as "HPP can now read any directory". But if I look at https://github.com/humanoid-path-planner/hpp-pinocchio/blob/8d9e202f0d004928bbdee290475d23ba61123376/src/urdf/util.cc#L299 I can still see some hardcoded "urdf" around.
"urdf"
Shouldn't we add a urdfSubdir="urdf" argument to those functions ?
urdfSubdir="urdf"
You can call loadModel directly.
loadModel
Ok, thanks :)
Hi,
Some robots in https://github.com/gepetto/example-robot-data have their urdf data in a
robots
directory instead of aurdf
one.According to https://gitlab.laas.fr/stack-of-tasks/talos-data/-/issues/2#note_9710, this should not be a big issue, as "HPP can now read any directory". But if I look at https://github.com/humanoid-path-planner/hpp-pinocchio/blob/8d9e202f0d004928bbdee290475d23ba61123376/src/urdf/util.cc#L299 I can still see some hardcoded
"urdf"
around.Shouldn't we add a
urdfSubdir="urdf"
argument to those functions ?