utiasDSL / gym-pybullet-drones

PyBullet Gymnasium environments for single and multi-agent reinforcement learning of quadcopter control
https://utiasDSL.github.io/gym-pybullet-drones/
MIT License
1.19k stars 349 forks source link

Load my urdf #117

Open powehi2020 opened 1 year ago

powehi2020 commented 1 year ago

hi~ if I want to load my urdf flie what can I do? I have try save my urdf flie at /home/use/anaconda3/envs/drones/lib/python3.8/site-packages/pybullet_data and cf2x.urdf, but it says pybullet.error: Cannot load URDF file. Can anyone give me some advice? Thanks~

JacopoPan commented 1 year ago

You should show me the line you are using to import the URDF but, a first guess, would be to place the file under gym-pybullet-drones/gym_pybullet_drones/assets/ instead.