jdj2261/pykin

Why does Pykin prefix all filepaths with the site package path?

Closed this issue · 2 comments

trzy commented

I wanted to define my own URDF file and was surprised to find this in urdf_model.py:28:

self.file_path = pykin_path + "/assets/" + f_name

This makes the package unusable from a pip install. Is there a reason for doing this?

Hello, instead of solving the robot's kinematics with a custom URDF, I decided to utilize a well-known URDF.

I created a directory called "assets" in the form of a package.

As you suggested, it would be wise to modify the code to test it with �your own URDF. Thank you.

trzy commented