GokulNC / Setting-Up-CARLA-Reinforcement-Learning

Reinforcement Learning Environment for CARLA Autonomous Driving Simulator
95 stars 18 forks source link

human_play.py - Angle of view is changing as well #5

Closed Tar12 closed 5 years ago

Tar12 commented 5 years ago

Both with 0.8.2 and 0.8.4,

human_play.py

works fine at navigating the car, but it also oddly rotates the view window (i.e., pressing 'up' key also changes view to looking from up). Is there an easy way to disable this? Saving screenshots works OK though - it is always from the fixed frontal perspective, this is a visualization issue,

Thanks!

GokulNC commented 5 years ago

Ensure that the focus is on terminal while playing the simulator using human_play.py That is, as soon as the Carla window launches, click on your terminal and start playing. If the focus is on the Carla renderer, it considers up arrow key as decreasing the camera field view's Y coordinate I guess.

Sent from Yahoo Mail on Android

On Tue, Feb 19, 2019 at 7:50 PM, Tar12notifications@github.com wrote:
Both with 0.8.2 and 0.8.4,

human_play.py

works fine at navigating the car, but it also oddly rotates the view window (i.e., pressing 'up' key also changes view to looking from up). Is there an easy way to disable this? Saving screenshots works OK though - it is always from the fixed frontal perspective, this is a visualization issue,

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Tar12 commented 5 years ago

Thank you! Awesome code!