Skip to content

Conversation

@kevinzakka
Copy link
Collaborator

Summary

  • Add field(default_factory=dict) to observations and actions fields in ManagerBasedRlEnvCfg
  • Clean up docstrings to remove redundant "can be empty for X" phrases
  • Clarify that empty terminations means episodes never reset (need mdp.time_out for time limits)
  • Update raycast sensor demo to use new defaults

Test plan

  • make check passes
  • make test passes (370 passed, 10 skipped)

🤖 Generated with Claude Code

Add field(default_factory=dict) to observations and actions fields so
users don't need to explicitly provide empty dicts for environments
that don't use them (e.g., sensor visualization demos).

Also cleans up docstrings to remove redundant "can be empty" phrases
and clarifies that empty terminations means episodes never reset.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@kevinzakka kevinzakka merged commit 364ab7d into main Jan 6, 2026
9 checks passed
@kevinzakka kevinzakka deleted the default-empty-observations-actions branch January 6, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants