Skip to content

Commit

Permalink
Merge branch 'dr_optimizations' of github.com:kellyguo11/IsaacLab-pub…
Browse files Browse the repository at this point in the history
…lic into dr_optimizations
  • Loading branch information
kellyguo11 committed Aug 2, 2024
2 parents a909f6d + 6331dbd commit 8f54b24
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,13 @@ def _prepare_terms(self):
f"Configuration for the term '{term_name}' is not of type EventTermCfg."
f" Received: '{type(term_cfg)}'."
)

if term_cfg.mode != "reset" and term_cfg.min_step_count_between_reset != 0:
carb.log_warn(
f"Event term '{term_name}' has 'min_step_count_between_reset' set to a non-zero value"
" but the mode is not 'reset'. Ignoring the 'min_step_count_between_reset' value."
)

# resolve common parameters
self._resolve_common_term_cfg(term_name, term_cfg, min_argc=2)
# check if mode is a new mode
Expand Down

0 comments on commit 8f54b24

Please sign in to comment.