Skip to content

Commit

Permalink
incorporate feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsilver committed Aug 19, 2024
1 parent 540ecca commit 2b137f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pyrcareworld/pyrcareworld/envs/bathing_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@


_TEMPLATE_PATH = Path(__file__).parents[3] / "template"
_EXECUTABLE_PATH = _TEMPLATE_PATH / "Bathing" / "BathingPlayer.x86_64"
_DEFAULT_EXECUTABLE_PATH = _TEMPLATE_PATH / "Bathing" / "BathingPlayer.x86_64"


class BathingEnv(RCareWorld):
"""Bathing environment for the PhyRC competition."""

def __init__(self, *args, **kwargs):
super().__init__(executable_file=str(_EXECUTABLE_PATH), *args, **kwargs)
def __init__(self, executable_file=str(_DEFAULT_EXECUTABLE_PATH), *args, **kwargs):
super().__init__(executable_file=executable_file, *args, **kwargs)
6 changes: 3 additions & 3 deletions pyrcareworld/pyrcareworld/envs/dressing_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@


_TEMPLATE_PATH = Path(__file__).parents[3] / "template"
_EXECUTABLE_PATH = _TEMPLATE_PATH / "Dressing" / "DressingPlayer.x86_64"
_DEFAULT_EXECUTABLE_PATH = _TEMPLATE_PATH / "Dressing" / "DressingPlayer.x86_64"


class DressingEnv(RCareWorld):
"""Dressing environment for the PhyRC competition."""

def __init__(self, *args, **kwargs):
super().__init__(executable_file=str(_EXECUTABLE_PATH), *args, **kwargs)
def __init__(self, executable_file=str(_DEFAULT_EXECUTABLE_PATH), *args, **kwargs):
super().__init__(executable_file=executable_file, *args, **kwargs)

0 comments on commit 2b137f0

Please sign in to comment.