Skip to content

Commit

Permalink
Merge branch 'integration' of https://github.com/ryanjulian/rllab int…
Browse files Browse the repository at this point in the history
…o dynamics_randomization
  • Loading branch information
Chang committed May 30, 2018
2 parents 3071f8f + 06b6de3 commit 9a9b71f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions contrib/ros/envs/example_launchers/trpo_gazebo_sawyer_pnp.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import rospy

from rllab.baselines.linear_feature_baseline import LinearFeatureBaseline
from rllab.envs.normalized_env import normalize
from rllab.misc.instrument import run_experiment_lite
Expand All @@ -10,6 +12,8 @@


def run_task(*_):
rospy.init_node('trpo_sim_sawyer_pnp_exp', anonymous=True)

env = TfEnv(normalize(PickAndPlaceEnv()))

policy = GaussianMLPPolicy(
Expand Down
4 changes: 4 additions & 0 deletions contrib/ros/envs/example_launchers/trpo_gazebo_sawyer_push.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import rospy

from rllab.baselines.linear_feature_baseline import LinearFeatureBaseline
from rllab.envs.normalized_env import normalize
from rllab.misc.instrument import run_experiment_lite
Expand All @@ -10,6 +12,8 @@


def run_task(*_):
rospy.init_node('trpo_sim_sawyer_push_exp', anonymous=True)

env = TfEnv(normalize(PushEnv()))

policy = GaussianMLPPolicy(
Expand Down
1 change: 0 additions & 1 deletion contrib/ros/envs/sawyer_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def __init__(self,
Serializable.quick_init(self, locals())

RosEnv.__init__(self)
rospy.init_node('SawyerEnv', anonymous=True)

# Verify robot is enabled
self._robot = Sawyer(
Expand Down

0 comments on commit 9a9b71f

Please sign in to comment.