Is there an efficient way to know which lanelet an obstacle belongs to?

Is the function find_lanelet_by_position(point_list) the most easy way? And for point list, does that mean the position of the obstacle? Thanks.

Hi, yes this function should be used to find the lanelet of a given position. In that case one would have to pass the position of the obstacle. If you want to find the lanelet IDs which are covered by the whole shape of the obstacle, you could use the function find_lanelet_by_shape and pass the shape of the obstacle as an argument.

Best,
gerald

Thank you!

Best,
Wheno

1 Like