carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.45k stars 3.71k forks source link

Bug in Lane_id #1469

Closed eslambakr closed 5 years ago

eslambakr commented 5 years ago

Hello,

I think there is a bug in lane_id, as I noticed that the id changes from 3 to -3 for example for certain period then becomes 3 again!, however the car don't change it's lane.

Is this a real bug or I missed some thing?

nsubiron commented 5 years ago

Hi @eslambakr,

It's not a bug, it's how OpenDRIVE works. A lane id is unique within its lane section, and a road section may have several lane sections. image

Our waypoints are identified by 4 numbers

But most of the time you don't need to care about these numbers unless you're directly working with the XODR file.

JunningHuang commented 5 years ago

Thanks a lot !!! @nsubiron Your explanation greatly helps me to confirm the structure of the road.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.