johschmitz / blender-driving-scenario-creator

Blender add-on for creating OpenDRIVE and OpenSCENARIO based automotive driving scenarios including 3D models
GNU General Public License v3.0
221 stars 36 forks source link

Connection of on/off ramps to road network #37

Open Reitmania opened 1 month ago

Reitmania commented 1 month ago

Hi! I'm using your add-on to create custom maps for CARLA. It works fine, but I'm facing some problems when connecting on and off ramps of highways to the other road network. Here is an example:

Screenshot_20240724_155207

What's the best way to connect the off ramp of the highway to a default street? When I force it to become a single lane by closing it, I cannot connect it, because it uses the former left lane (off ramp) and connects it with the right lane of the default street.

BTW: I used the option "close" when turning the double lane off ramp to a single lane street. Why is this option not available any in current releases (I used 0.21.1)?

Thanks in advance!

johschmitz commented 1 month ago

I need to look into this deeper, could you say what the cross section configuration of that "adapter" road is? Maybe post a screenshot of that as well.

johschmitz commented 1 month ago

I had a look at this and I think this indeed has a major bug. The offramp should not have a drivable lane with a positive lane ID. I need to change this.