benelot / pybullet-gym

Open-source implementations of OpenAI Gym MuJoCo environments for use with the OpenAI Gym Reinforcement Learning Research Platform.
https://pybullet.org/
Other
823 stars 123 forks source link

robot out of view when using env.render('rgb_array') #68

Open HareshKarnan opened 3 years ago

HareshKarnan commented 3 years ago

Hi,

Thanks for this repo ! I'm having issues with the robot not being tracked properly by the camera. As a test, I trained a HalfCheetah agent and I visualize the learned policy by deploying it in the environment and visualizing it using env.render('rgb_array'). While the camera starts off tracking the robot well, after a few timesteps, the robot moves out of the frame. This is what it looks like :

image