Skip to content

Commit 8ef2a37

Browse files
DeepMindalimuldal
authored andcommitted
Slight repositioning of corner lights to minimise goalpost shadows on the pitch.
PiperOrigin-RevId: 310350088 Change-Id: I82b9199dc187410288f59b4d19be0203be005959
1 parent 9e5c413 commit 8ef2a37

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

dm_control/locomotion/soccer/pitch.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,10 @@ def initialize_episode_mjcf(self, random_state):
705705
self._field_box[i].size = size
706706

707707
# Reposition corner lights.
708-
_reposition_corner_lights(self._corner_lights, self._size)
708+
_reposition_corner_lights(
709+
self._corner_lights,
710+
size=(self._size[0] - 2 * goal_size[0],
711+
self._size[1] - 2 * goal_size[0]))
709712

710713
# Resize, reposition and recolor hoarding geoms.
711714
self._update_hoarding()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def find_data_files(package_dir, patterns):
166166

167167
setup(
168168
name='dm_control',
169-
version='0.0.310156409',
169+
version='0.0.310965000',
170170
description='Continuous control environments and MuJoCo Python bindings.',
171171
author='DeepMind',
172172
license='Apache License, Version 2.0',

0 commit comments

Comments
 (0)