Tuxliri / RL_rocket

Repository for the development of my master thesis on control of launch vehicles descent and landing through reinforcement learning actors.
0 stars 0 forks source link

Align rendering with Gym guidelines #3

Closed Tuxliri closed 2 years ago

Tuxliri commented 2 years ago

Align the rendering method of your environment with the guidelines at https://www.gymlibrary.ml/content/environment_creation/#rendering, namely by using the Renderer class to have a variable framerate visualizer for the PyGame rendering.

Tuxliri commented 2 years ago

Need to understand why the Rendering class is not available from the base gym.utils classes, see https://github.com/Farama-Foundation/gym-docs/issues/134

Tuxliri commented 2 years ago

Unfortunately the documentation is already ahead of the Gym code. The rendering API will change soon but it’s not there yet. You can use the code from https://github.com/Farama-Foundation/gym-examples

Tuxliri commented 2 years ago

The new APIs are not yet supported by stable-baselines3.