Commit dd026fb2 authored by robotsfan's avatar robotsfan Committed by Kelly Guo

Changes `randomization` to `events` in Digit envs (#3033)

# Description

Change `randomization` to `events` in Digit envs

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
parent 7db8c2e7
...@@ -246,5 +246,5 @@ class DigitLocoManipEnvCfg_PLAY(DigitLocoManipEnvCfg): ...@@ -246,5 +246,5 @@ class DigitLocoManipEnvCfg_PLAY(DigitLocoManipEnvCfg):
# Disable randomization for play. # Disable randomization for play.
self.observations.policy.enable_corruption = False self.observations.policy.enable_corruption = False
# Remove random pushing. # Remove random pushing.
self.randomization.base_external_force_torque = None self.events.base_external_force_torque = None
self.randomization.push_robot = None self.events.push_robot = None
...@@ -33,5 +33,5 @@ class DigitFlatEnvCfg_PLAY(DigitFlatEnvCfg): ...@@ -33,5 +33,5 @@ class DigitFlatEnvCfg_PLAY(DigitFlatEnvCfg):
# Disable randomization for play. # Disable randomization for play.
self.observations.policy.enable_corruption = False self.observations.policy.enable_corruption = False
# Remove random pushing. # Remove random pushing.
self.randomization.base_external_force_torque = None self.events.base_external_force_torque = None
self.randomization.push_robot = None self.events.push_robot = None
...@@ -262,5 +262,5 @@ class DigitRoughEnvCfg_PLAY(DigitRoughEnvCfg): ...@@ -262,5 +262,5 @@ class DigitRoughEnvCfg_PLAY(DigitRoughEnvCfg):
# Disable randomization for play. # Disable randomization for play.
self.observations.policy.enable_corruption = False self.observations.policy.enable_corruption = False
# Remove random pushing. # Remove random pushing.
self.randomization.base_external_force_torque = None self.events.base_external_force_torque = None
self.randomization.push_robot = None self.events.push_robot = None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment