PKU-Alignment / omnisafe

JMLR: OmniSafe is an infrastructural framework for accelerating SafeRL research.
https://www.omnisafe.ai
Apache License 2.0
912 stars 130 forks source link

feat: support isaac gym interface #325

Closed Gaiejj closed 5 months ago

Gaiejj commented 5 months ago

Description

This PR is already complete in terms of implementation accuracy. We will merge it shortly after improving the code style and documentation.

Support Safe Isaac Gym tasks in Safety-Gymnasium

Example Demo

https://github.com/PKU-Alignment/omnisafe/assets/108712610/11536396-a2fd-471f-b37d-fcbc014cc568

Experiment and Performance

figure_ShadowHandOver_Safe_finger

figure_ShadowHandOver_Safe_joint

figure_ShadowHandCatchOver2Underarm_Safe_finger

figure_ShadowHandCatchOver2Underarm_Safe_joint

Motivation and Context

Isaac Gym is a GPU-based large-scale parallel robotic simulation environment. We believe that support for the Safe Isaac Gym tasks will expand OmniSafe ’s application in robotic control safety tasks.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

Checklist

Go over all the following points, and put an x in all the boxes that apply. If you are unsure about any of these, don't hesitate to ask. We are here to help!

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.84%. Comparing base (3c9a235) to head (86e72d8).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #325 +/- ## ========================================== + Coverage 96.57% 96.84% +0.27% ========================================== Files 139 138 -1 Lines 7088 7060 -28 ========================================== - Hits 6845 6837 -8 + Misses 243 223 -20 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.