joonhyung-lee / mujoco-ycb-dataset

Parsing YCB datasets on MuJoCo engine
1 stars 0 forks source link

no module named 'util' #1

Open Smilels opened 3 weeks ago

Smilels commented 3 weeks ago

Hi, Joonhyung, thanks for your sharing. When I run from mujoco_parser import MuJoCoParserClass, I met the following error

Cell In[1], line 1 ----> 1 from mujoco_parser import MuJoCoParserClass

File /media/shuang/Transcend/software/mujoco-ycb-dataset/mujoco_parser.py:5 3 import mujoco 4 import mujoco_viewer ----> 5 from util import pr2t,r2w,rpy2r,trim_scale,meters2xyz,compute_view_params 7 class MuJoCoParserClass(object): 8 """ 9 MuJoCo Parser class 10 """

ModuleNotFoundError: No module named 'util'

It seems that a util.py should be also contained in this repo. Could you please check and upload it? Thank you a lot.

Smilels commented 3 weeks ago

ok, I found this file from your other repo "mujoco-nonprehensile". Thanks a lot

joonhyung-lee commented 3 weeks ago

Thanks for letting me know! I've uploaded the file!