Skip to content

Fix safe environment exports and Gymnasium API - #1

Open
OtisMcLeary-123 wants to merge 2 commits into
tohsin:safe-rl-panda-gym-v2from
OtisMcLeary-123:fix/gymnasium-safe-envs
Open

Fix safe environment exports and Gymnasium API#1
OtisMcLeary-123 wants to merge 2 commits into
tohsin:safe-rl-panda-gym-v2from
OtisMcLeary-123:fix/gymnasium-safe-envs

Conversation

@OtisMcLeary-123

Copy link
Copy Markdown

Summary

  • restore exports for the five safety-aware Panda environments
  • replace stale gym/gym_robotics core usage with the current Gymnasium core
  • fix the accidental StackSafeStack3 registration caused by a missing comma
  • preserve the safety cost in the Gymnasium info mapping

Verification

  • 6 focused registry/reset/step tests pass
  • all 20 safe variants (5 tasks x sparse/dense x ee/joints) reset and execute one headless step on Python 3.12, Gymnasium 1.3.0, and PyBullet 3.2.7

The patch intentionally leaves the legacy modules in place but routes registered safe environments through a Gymnasium-compatible constructor module.

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.

1 participant