waymo-open-dataset icon indicating copy to clipboard operation
waymo-open-dataset copied to clipboard

Select scenario from motion dataset by type of scenario

Open ameesh-shah opened this issue 1 year ago • 1 comments

Hi,

I'd like to select specific elements from the open motion dataset that are of a specific type of scenario. For example, I'd like to go through each element of the dataset, and pick all the ones that take place in four-way intersections, or those that take place on highways, and so forth.

I've looked through the fields available in the .proto file types and haven't yet found a set of features that could help perform this type of sorting. Which objects should I be looking into that will allow for this?

If you need any further clarification from me, don't hesitate to let me know and I'll provide more details.

ameesh-shah avatar Nov 14 '23 04:11 ameesh-shah

Hi,

I think the data you need to do this exists in the dataset, but probably not in a form that you can directly use. The map_features field contains individual components of the map including lane centers that form intersections and traffic lights. You would need to write some code to determine if these form a 4 way intersection. There is no proto field that will directly indicate this.

You can determine freeways by the lane type.

Please let us know if you have further questions.

scott-ettinger avatar Nov 14 '23 23:11 scott-ettinger