Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ jobs:
- name: Run unit tests
run: |
echo "::group::Running tests"
pytest --capture=tee-sys tests/
pytest --capture=tee-sys tests/test_bathing_env.py
echo "::endgroup::"
2 changes: 2 additions & 0 deletions pyrcareworld/pyrcareworld/envs/bathing_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ class BathingEnv(RCareWorld):
_drawer_id: int = 758666
_person_id: int = 573920
_randomizer_id: int = 777


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

if seed is not None:
self.get_person_randomizer().SetSeed(seed)
print(self.attrs)

def get_robot(self) -> ControllerAttr:
"""Access the robot."""
Expand Down
Loading
Loading