fd9a073e56a1c2a03f72ae4df7b5e684134f8dc9,contrib/ros/envs/sawyer/pick_and_place_env.py,PickAndPlaceEnv,get_observation,#PickAndPlaceEnv#,63

Before Change



        obs = np.concatenate((robot_obs, manipulatable_obs["obs"]))

        return {
            "observation": obs,
            "achieved_goal": manipulatable_obs["achieved_goal"],
            "desired_goal": self.goal
        }

    def reward(self, achieved_goal, goal):
        
        Compute the reward for current step.

After Change



        obs = np.concatenate((robot_obs, world_obs.obs))

        Observation = collections.namedtuple(
            "Observation", "observation achieved_goal desired_goal")

        observation = Observation(
            observation=obs,
            achieved_goal=world_obs.achieved_goal,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: rlworkgroup/garage
Commit Name: fd9a073e56a1c2a03f72ae4df7b5e684134f8dc9
Time: 2018-06-11
Author: hejiazha@usc.edu
File Name: contrib/ros/envs/sawyer/pick_and_place_env.py
Class Name: PickAndPlaceEnv
Method Name: get_observation


Project Name: probcomp/bayeslite
Commit Name: 38d3afd321f796562654510a31c75827234ba0aa
Time: 2015-10-06
Author: imarcoam@gmail.com
File Name: tests/test_sessions.py
Class Name:
Method Name: get_entries


Project Name: scipy/scipy
Commit Name: c8ea1f53c2042d8df4c0566d8f1367ae38c194a4
Time: 2015-05-04
Author: aeklant@gmail.com
File Name: scipy/stats/_binned_statistic.py
Class Name:
Method Name: binned_statistic_dd


Project Name: rlworkgroup/garage
Commit Name: fd9a073e56a1c2a03f72ae4df7b5e684134f8dc9
Time: 2018-06-11
Author: hejiazha@usc.edu
File Name: contrib/ros/envs/sawyer/push_env.py
Class Name: PushEnv
Method Name: get_observation