Unverified Commit e3ea4c5c authored by lgulich's avatar lgulich Committed by GitHub

Fixes typos in render interval warning messages (#1237)

# Description

Fixes typos in render interval warning messages

## 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 30c21674
...@@ -102,7 +102,7 @@ class DirectMARLEnv: ...@@ -102,7 +102,7 @@ class DirectMARLEnv:
if self.cfg.sim.render_interval < self.cfg.decimation: if self.cfg.sim.render_interval < self.cfg.decimation:
msg = ( msg = (
f"The render interval ({self.cfg.sim.render_interval}) is smaller than the decimation " f"The render interval ({self.cfg.sim.render_interval}) is smaller than the decimation "
f"({self.cfg.decimation}). Multiple multiple render calls will happen for each environment step." f"({self.cfg.decimation}). Multiple render calls will happen for each environment step."
"If this is not intended, set the render interval to be equal to the decimation." "If this is not intended, set the render interval to be equal to the decimation."
) )
omni.log.warn(msg) omni.log.warn(msg)
......
...@@ -107,7 +107,7 @@ class DirectRLEnv(gym.Env): ...@@ -107,7 +107,7 @@ class DirectRLEnv(gym.Env):
if self.cfg.sim.render_interval < self.cfg.decimation: if self.cfg.sim.render_interval < self.cfg.decimation:
msg = ( msg = (
f"The render interval ({self.cfg.sim.render_interval}) is smaller than the decimation " f"The render interval ({self.cfg.sim.render_interval}) is smaller than the decimation "
f"({self.cfg.decimation}). Multiple multiple render calls will happen for each environment step." f"({self.cfg.decimation}). Multiple render calls will happen for each environment step."
"If this is not intended, set the render interval to be equal to the decimation." "If this is not intended, set the render interval to be equal to the decimation."
) )
omni.log.warn(msg) omni.log.warn(msg)
......
...@@ -103,7 +103,7 @@ class ManagerBasedEnv: ...@@ -103,7 +103,7 @@ class ManagerBasedEnv:
if self.cfg.sim.render_interval < self.cfg.decimation: if self.cfg.sim.render_interval < self.cfg.decimation:
msg = ( msg = (
f"The render interval ({self.cfg.sim.render_interval}) is smaller than the decimation " f"The render interval ({self.cfg.sim.render_interval}) is smaller than the decimation "
f"({self.cfg.decimation}). Multiple multiple render calls will happen for each environment step. " f"({self.cfg.decimation}). Multiple render calls will happen for each environment step. "
"If this is not intended, set the render interval to be equal to the decimation." "If this is not intended, set the render interval to be equal to the decimation."
) )
omni.log.warn(msg) omni.log.warn(msg)
......
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