motional / nuplan-devkit

The devkit of the nuPlan dataset.
https://www.nuplan.org
Other
636 stars 126 forks source link

Closest Lane Information #340

Closed NishkaArora closed 11 months ago

NishkaArora commented 11 months ago

I'm trying to find the closest lane to an (x, y) position on the nuplan_map. Ideally, a discretized lane representation (such as a sequence of points that trace the lane that the ego vehicle is on).

I see that in test_get_lane you use the get_one_map_object. Is this the same as what I described? Is that the best way to get what I'm looking for?

Thanks!

patk-motional commented 11 months ago

Hi @NishkaArora,

get_distance_to_nearest_map_object is probably better suited