forked from mmatl/urdfpy
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I mistakenly passed a Path object as a filepath instead of a string. Took me a while to figure out that was the bug since this resulted in a stacktrace in the trimesh library trying to load something it didn't know how to handle.
URDF.load(Path("path" / "robot.urdf")) # doesn't work!
URDF.load("path/robot.urdf") # ok!
One suggestion to avoid users getting this error would be to check if a user sends something isn't a string object / is a Path object.
Metadata
Metadata
Assignees
Labels
No labels