Hello, I'm currently using example-robot-data to have access to different urdf files. But in my case, I do not want to use the RobotLoader, but use pinocchio to build my model from URDF directly. I noticed, that you can do
import example_robot_data as erd
erd.getModelPath() # of course this fails
erd.path.EXAMPLE_ROBOT_DATA_MODEL_DI
but you cannot directly access erd.path after loading the python module. I think it can be useful in general to have access to both EXAMPLE_ROBOT_DATA_MODEL_DIR and EXAMPLE_ROBOT_DATA_SOURCE_DIR even without calling a specific function before.
Hello, I'm currently using
example-robot-data
to have access to different urdf files. But in my case, I do not want to use theRobotLoader
, but usepinocchio
to build my model from URDF directly. I noticed, that you can dobut you cannot directly access
erd.path
after loading the python module. I think it can be useful in general to have access to bothEXAMPLE_ROBOT_DATA_MODEL_DIR
andEXAMPLE_ROBOT_DATA_SOURCE_DIR
even without calling a specific function before.