-
Notifications
You must be signed in to change notification settings - Fork 24
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
Questions about nuPlan conveter #79
Comments
Hi, Thank you for your interest. Regarding your questions.
|
This part is interesing because I'm actually trying to port ScenarioNet data into Waymax directly. In Waymax there is a specific definition for I would be up to do some PR if you think there are some globals improvements that be done, but it is totally up to your visions. |
Ahh, I got you. Actually, you can find the exterior or boundary with the drivable area polygon consisting of all lanes. You can even expand this drivable region polygon with some shapely functions. So you can use the new a bit larger polygon's egdes as the I use this trick to extract all external solid white lines for nuscnes and nuplan dataset, as they don't provide any road boundary information. This is a reference:
I appreciate your help in connecting ScenarioNet and Waymax and would be very happy to share some thoughts on your PR. Just ping me when you feel it is ready! |
On a general note, it is complex to connect directly ScenarioNet to Waymax because the pickle files obtained from the various datasets can differ. Do you think there is a way that ScenarioNet because a standalone that would provide an agnostic Scenario Format or is it only designed to match MetaDrive directly ? |
ScenarioNetw format is a general self-contained format, so it can be loaded by other simulators as well. Its main goal is to align all datasets and provide a unified entry for using them. The .pkl files from different sources are different mainly on the level of map details. Some provide the connectivity or polygon of a lane, some do not. But the only thing regarding map is that all maps have to provide the lane center lines, with which we can predefine a lane width and build a map finally (of course, it would be better to have its polygons directly). For the tracks, .pkl files from all datasets are exactly the same with positions/velocities/masks and so on. The last difference between datasets is that traffic light information is only available in some datasets like WOMD. Given this, I think it is feasible to load .pkl file to Waymax. |
Hello,
Thanks a lot for the repo, I'm currently trying to use scenarionet as a standlone and I have some questions about the nuPlan converter script placed in
scenarionet/scenarionet/converter/nuplan/utils.py
First, why the boundaries of the block are typed as LINE_SOLID_SINGLE_WHITE and not ROAD_EDGE_BOUNDARY directly ?
Second, I'm curious about the line extraction. If I understand correctly, for each lane we look if there is a left boundary. If there is, we presume it is a broken line and we add it to the map block.
But it means two things:
Can it be possible to have something more robust to detect lines ?
Finally, I was curious about the intersections. I see that there are typed as
LANE_SURFACE_UNSTRUCTURE
, and from your experience, I'm wondering if it possible to properly divide them betweenLANE_SURFACE_STREET
andLINE_BROKEN_SINGLE_WHITE
The text was updated successfully, but these errors were encountered: