Add custom lane offset ranges in the ULTRA task configs #683
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows for the ability to set the vehicle's initial position in the start lane, and also its end position in the end lane by specifying a range [min, max] for the
start_offset
andend_offset
.When generating a scenario, the missions generate a random start offset integer and end offset integer in the range [min, max]. This determines how far along the start lane the vehicle will be spawned in (in the case of the start offset), and how far along the end lane the vehicle has to go to reach its goal (in the case of the end offset).
@AlexLewandowski and @JenishPatel99, should
start_offset
andend_offset
be optional fields forego_missions
or should these be explicitly defined (like they are now)? Let me know your thoughts on this, and anything else regarding these changes.