OpenDriveLab / TCP

[NeurIPS 2022] Trajectory-guided Control Prediction for End-to-end Autonomous Driving: A Simple yet Strong Baseline.
Apache License 2.0
309 stars 40 forks source link

Pygame window #40

Open srajangoyal opened 12 months ago

srajangoyal commented 12 months ago

Hi! Really cool project. And thanks for sharing the pre-trained models.

When running the default evaluation script (adding new.ckpt in TEAM_CONFIG), no new Pygame window appears with ego's front view. And I couldn't find any display interface in the tcp_agent code either. All I see is the bird's view in the main Carla window, with ego following the route.

Am I missing something?

Thanks!

penghao-wu commented 12 months ago

Hi, this is expected. If you want to change the spectator view which is by default the BEV view, you can modify it here https://github.com/OpenDriveLab/TCP/blob/3947ec4e06b05f19b1d964a4281c7c4c1539f1bb/leaderboard/leaderboard/scenarios/route_scenario.py#L260 and https://github.com/OpenDriveLab/TCP/blob/3947ec4e06b05f19b1d964a4281c7c4c1539f1bb/leaderboard/leaderboard/scenarios/scenario_manager.py#L178.