huawei-noah / SMARTS

Scalable Multi-Agent RL Training School for Autonomous Driving
MIT License
944 stars 190 forks source link

Standardize entry tactic capture time range. #2039

Closed qianyi-sun closed 1 year ago

qianyi-sun commented 1 year ago

This fixes the range of vehicle capture for entry tactics by making the time range work like python range() which means start is included and end is excluded. There is also a particular case now for times that start before the first step completes.

The issue opened now by excluding the end time is that 0 length wait time will always emit a vehicle without an attempt to capture which could be unexpected. I am unsure if I should put in an automatic value there or set the default to >0.