Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "rgb_array" to "rgb_array_list" and "single_rgb_array" to "rgb_array" #3040

Merged
merged 17 commits into from
Sep 1, 2022

Conversation

pseudo-rnd-thoughts
Copy link
Contributor

There was a miscommunication about the changes to render such that "rgb_array" returns list of rendered frames rather than the most recent.
This PR reverts back most of those changes with "rgb_array" returning the most recent frame and adds a new render_mode, "rgb_array_list" that returns a list of all rendered frames since reset.

Copy link
Contributor

@younik younik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some minor comments, but it looks good to me after we fix test_render_modes

tests/utils/test_play.py Outdated Show resolved Hide resolved
tests/envs/test_envs.py Outdated Show resolved Hide resolved
@jkterry1 jkterry1 merged commit 799c8d2 into openai:master Sep 1, 2022
@wookayin wookayin mentioned this pull request Sep 4, 2022
1 task
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.

3 participants