bullet3/examples/pybullet/gym/pybullet_data/__init__.py
Erwin Coumans 659e869b86 pybullet a bit more refactoring, moving around files.
pybullet: move data to pybullet_data package, with getDataPath() method
2017-08-27 18:08:46 -07:00

7 lines
116 B
Python

import pybullet as p
import os
def getDataPath():
resdir = os.path.join(os.path.dirname(__file__))
return resdir