Closed sulton1995 closed 1 year ago
Hi @sulton1995 have you checked that the code actually runs?
For example by running the tests in the test folder, or running python3 sofa_env/scenes/controllable_object_example/controllable_env.py
Hi @sulton1995, I am sorry but I cannot review the code like this.
You do not initialize a pygame window, so trying to read from it in the function will not work.
Also
def get_rgb(self,render_fr):
if render_fr == Framework.PYGLET:
return self.get_rgb_from_pygame()
elif render_fr == Framework.PYGAME:
return self.get_rgb_from_pygame()
calls the same function.
I will close the PR. Feel free to properly test your implementation and open a new PR at a later time.
the task is done. Can you please check it?