forked from rll/rllab
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor rllab from rllab.mujoco_py to mujoco_py (v1.5.0) (#91)
In this change, rllab is updated to use the latest version of MuJoCo (i.e. v1.5.0) by replacing all applications of rllab.mujoco_py in the code with mujoco_py, and subsequently remove the rllab.mujoco_py folder. This also updates the setup_mujoco.sh script to support installation using MuJoCo v1.5.0 in lieu of v1.3.0. Most changes are minor, such as replacing applications of self.model with self.sim due to MuJoCo transferring functionality from model to sim in the new version. Instead, sim is instantiated by passing a reference to model: self.sim = MjSim(self.model). However, some changes are major, most notably embedded_viewer.py and gather_env.py. Many functions within these files were using deprecated APIs that did not have a direct and easy complement in the new MuJoCo documentation. Some of these functions were renamed, others were moved around underneath new or pre-existing classes under a new guise, and others were most likely removed. These files are not as of now rigorously tested, but no major functionality has been broken thus far, and so can be used tentatively.
- Loading branch information
Showing
36 changed files
with
509 additions
and
9,769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.