Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize entry tactic capture time range. #2039

Merged
merged 2 commits into from
May 31, 2023
Merged

Conversation

qianyi-sun
Copy link
Contributor

@qianyi-sun qianyi-sun commented May 26, 2023

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.

@Gamenot Gamenot force-pushed the fix_trap_manager branch from ee70876 to 300bd00 Compare May 29, 2023 13:56
@Gamenot Gamenot changed the title make sure trap to work properly Standardize entry tactic capture range. May 29, 2023
@Gamenot Gamenot changed the title Standardize entry tactic capture range. Standardize entry tactic capture time range. May 29, 2023
@qianyi-sun qianyi-sun merged commit c014585 into master May 31, 2023
@qianyi-sun qianyi-sun deleted the fix_trap_manager branch May 31, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants