Skip to content

Commit adcaee0

Browse files
committed
Use filtered object pose to compute reward
1 parent d4743e4 commit adcaee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rrc_example_package/cube_trajectory_env.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def seed(self, seed=None):
223223
def _create_observation(self, t, action):
224224
robot_observation = self.platform.get_robot_observation(t)
225225
camera_observation = self.platform.get_camera_observation(t)
226-
object_observation = camera_observation.object_pose
226+
object_observation = camera_observation.filtered_object_pose
227227

228228
active_goal = np.asarray(
229229
task.get_active_goal(self.info["trajectory"], t)

0 commit comments

Comments
 (0)