cjy1992 / gym-carla

An OpenAI gym wrapper for CARLA simulator
MIT License
531 stars 111 forks source link

How to increase quality of pygame window and get first person view of ego vehicle in main carla window. #40

Open adityajn105 opened 3 years ago

adityajn105 commented 3 years ago

Hi first of all I want to thank you for creating this wrapper. It made my life a lot easier. But It will be great if I can do following. So please can you suggest what changes I have to make to these things.

  1. Is there any way I can increase size and quality of pygame window. I tried myself bunch of changes but I failed.

  2. Also I am not able to get real time first person view of ego vehicle in main carla window. So can you suggest how this can be done.

Thanks a lot in advance.

Tangzj2020 commented 2 years ago

Hello, you can change the params with 'display_size' to adjust the size of window, and also change the params 'obs_range/lidar_bin' for increasing the quality of pygame window in 'carla_env.py'.