gym env backward compatibility due to gym 0.9.6 breaking changes

This commit is contained in:
erwincoumans committed 2018-02-06 10:20:41 -08:00
1 parent ede8042c2c
commit 19231434c2
12 files changed
+78 -39

No files matched your search

@@ -1,6 +1,12 @@
r"""An example to run of the minitaur gym environment with sine gaits.
"""
import os
import inspect
currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parentdir = os.path.dirname(os.path.dirname(currentdir))
os.sys.path.insert(0,parentdir)
import math
import numpy as np
from pybullet_envs.bullet import minitaur_gym_env
@@ -1,3 +1,9 @@
import os
import inspect
currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parentdir = os.path.dirname(os.path.dirname(currentdir))
os.sys.path.insert(0,parentdir)
import pybullet as p
import math
import time