Skip to content

Fix render_modes metadata and rgb_array window initialisation #304

@jarl-hoyem

Description

@jarl-hoyem

Description:

- Add `metadata` with `render_modes` and `render_fps` to `PickominoEnv` to fix Gymnasium compatibility warning.
- Fix `_render_rgb_array` crashing when window is not initialised.
- Rename `render_mode` to public attribute per Gymnasium convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S - size SmallMagnitude in hours.enhancementNew feature or requestpriorityGive Priority at next Sprint Planning.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions