BYU-PCCL / holodeck-engine

High Fidelity Simulator for Reinforcement Learning and Robotics Research.

Home Page:https://holodeck.cs.byu.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashes When Incorrect Size is Specified

joshgreaves opened this issue · comments

The viewport is expected to be 512 x 512, so when the screen is larger we try writing pixel data to memory that isn't owned by Holodeck. There has to be a more robust way to do this that accepts variable size screens, possibly specified by Python. It may also make sense to just move away from using the viewport to capture pixels if we can get a decent alternative.

Fixed in develop branch.