Skip to content

Frame stacking for learning from images #171

@elle-miller

Description

@elle-miller

Hi there,

What is the best way to render and stack multiple image frames e.g. 4 into a single observation?

For the Camera Cartpole task (code), a pytorch_listener (docs) is used to get the images:

# retrieve RGB data from all render products
images = self.pytorch_listener.get_rgb_data()

However I am not sure how to have multiple images returned. I tried lowering the rendering_dt to a fraction of the sim dt but the function still only returns 1 image. If you could point me to some documentation that would be great. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions