-
Notifications
You must be signed in to change notification settings - Fork 120
feat: add lanelet bounds loader #128
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
feat: add lanelet bounds loader #128
Conversation
Assets/AWSIM/Scripts/Editor/RandomTraffic/Environments/LaneletLoader/LaneletBoundsLoader.cs
Outdated
Show resolved
Hide resolved
Assets/AWSIM/Scripts/Editor/RandomTraffic/Environments/LaneletLoader/LaneletBoundsLoader.cs
Outdated
Show resolved
Hide resolved
Assets/AWSIM/Scripts/Editor/RandomTraffic/Environments/LaneletLoader/LaneletBoundsLoader.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please clarify the purpose of this implementation. If visualization of lanelets is your only goal, keep the following in mind.
- Traffic lane class is used for NPC travel routes in random traffic. It would be inappropriate for lanelet visualization.
- If the amount of information is reduced by Resolution or other means when the lanelet is loaded, accurate visualization of the lanelet will not be possible.
- If you want to visualize lanelets more precisely, traffic lights and signs could also be targets.
...s/AWSIM/Scripts/Editor/RandomTraffic/Environments/LaneletLoader/LaneletBoundsLoaderWindow.cs
Outdated
Show resolved
Hide resolved
Assets/AWSIM/Scripts/Editor/RandomTraffic/Environments/LaneletLoader/LaneletBoundsLoader.cs
Outdated
Show resolved
Hide resolved
@mackierx111 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM👍
Signed-off-by: Alptuğ Cırıt <alptug@leodrive.ai>
Description
I added a Unity Editor extension which allows the user to load the left and right sides of the Lanelet.
The original "Load Lanelet" extension is kept unchanged so the user can optionally choose to use the new extension "Load Lanelet Bound" if they wish to load the sides of the Lanelet instead of the centerlines.
Tests performed
The feature has been tested using AWSIM.
Lanelet without the sides (only Centerlines and StopLines)

Lanelet with the sides

Effects on system behavior
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.