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

Merge and splits for ramp #734

Merged
merged 4 commits into from
Sep 1, 2024
Merged

Conversation

fredyshox
Copy link
Contributor

@fredyshox fredyshox commented Jun 11, 2024

What changes do you make in this PR?

Add ExtendingLane, replacing the CircularLane as a decoration for InRampOnStraight or OutRampOnStraight. This make the exits/merges look more realistic (at least in the US).

Length of the decoration and lane is controlled by length and extension_length parameters

We intend to use it for evaluating the behaviour of our driving model around exists/merges.

OutRampOnStraight:
Screenshot from 2024-06-10 20-37-28

InRampOnStraight:
Screenshot from 2024-06-10 20-38-48

Checklist

  • I have merged the latest main branch into current branch.
  • I have run bash scripts/format.sh before merging.
  • Please use "squash and merge" mode.

@fredyshox
Copy link
Contributor Author

fredyshox commented Jun 12, 2024

TODO:

  • sidewalk is not drawn correctly when using PGLineType.Side

@QuanyiLi QuanyiLi marked this pull request as ready for review July 27, 2024 13:08
@QuanyiLi QuanyiLi enabled auto-merge (squash) July 27, 2024 14:01
@QuanyiLi
Copy link
Member

Great. The ramp's structure is more reasonable now. Is it ready to merge?

@pengzhenghao
Copy link
Member

@fredyshox Thanks for contributions! Is this PR ready to be merged?

@QuanyiLi QuanyiLi merged commit e47791f into metadriverse:main Sep 1, 2024
13 of 14 checks passed
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.

3 participants