autonomousvision / transfuser

[PAMI'23] TransFuser: Imitation with Transformer-Based Sensor Fusion for Autonomous Driving; [CVPR'21] Multi-Modal Fusion Transformer for End-to-End Autonomous Driving
MIT License
1.15k stars 190 forks source link

Timeout signification and impact #245

Closed MCUBE-2023 closed 3 weeks ago

MCUBE-2023 commented 1 month ago

Hi, First of all, thank you for your receptivity and your quick answers to issues :)

Referring to leaderboard_evaluator_local.py (see the attached screen shot), and referring to this particular line of code: parser.add_argument ('--timeout', default="60.0", help='Set the CARLA client timeout value in seconds'), I have the following questions regarding the variable 'timeout':

1- What is the significance of the timeout variable? For instance, does the timeout relate to a case where the ego vehicle remains blocked without performing any action, and after the timeout period elapses, the code exits execution?

2- What is the impact of varying the value of the timeout variable? Specifically, how does increasing or decreasing this value affect the system’s behaviour?

image

Kait0 commented 1 month ago

This timeout which is the client timeout has nothing to do with the agent timeout (which is not an argument). This value is used by a watchdog to determined if the simulation has crashed. If the simulation / code doesn't crash than increasing it has no effect. We sometimes set it higher on servers where CARLA takes a long time to start.