haosulab / MPlib

a Lightweight Motion Planning Package
https://motion-planning-lib.readthedocs.io/
MIT License
97 stars 16 forks source link

urdf relative path not working when `./` not provided for a single level dir #49

Closed Lexseal closed 6 months ago

Lexseal commented 6 months ago

Currently urdf_util.cpp always finds the last occurrence of / and treat everything before as the package directory. However, when the urdf is in the same dir as the working directory, user may skip the ./ which causes file not found error.