Closed mayukhghosh closed 2 years ago
Hi @mayukhghosh,
We are now using the Unity forums to handle issues like this with custom environments. Please create a new thread there, in order to get the community involved in the discussion, and reply with the link to your forum thread.
A quick test for your case could be sampling the action from action_spaces or manage the stepping with UnityEnvironment.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I am trying to wrap a unity environment with the Gym wrapper. The environment consists of a quadcopter whose input is the four forces to its propellors. It seems that the actions given to the drone are not being reflected in the actual simulation. The drone keeps falling down even if maximum force is applied to all its propellers. I have checked it in Unity with manual input and it works there. The observations are 84*84 grayscale image stacked 4 times. I am using the following code:
I have provided a link to the unity executable. https://drive.google.com/drive/folders/1tvQc-QX1v-WSL5ObkzLP2IhKPABAQlPa?usp=sharing