johschmitz/blender-driving-scenario-creator

Connection of on/off ramps to road network

Closed this issue · 5 comments

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!

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.

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.

I have worked on a fix, now it should be possible to build something like this:

image

See https://github.com/johschmitz/blender-driving-scenario-creator/releases/tag/v0.26.0

@Reitmania Could you confirm that it works for you?

Hi, thanks for the fix. How do you merge the on- and off-ramp roads from two lanes into one? I am not able to reproduce it this way, in my case I can just do it like this:

Screenshot from 2024-10-03 16-13-06

I know an older version of your tool where it was possible to merge lanes at the begin or end, but in the current one I can't find this option anymore.

Update: I tried to export my version, but I got an error about mixing driving directions. I think this has to do with the fact that I always have to build the on-ramps “backwards” starting from the highway, otherwise the layout doesn't fit (cf. image - intersection of shoulder and highway). Is there another way? I tried all types (on ramp, on ramp end, on ramp shoulder end).

Screenshot from 2024-10-03 16-22-53

I can confirm it works (tested with an export to Unreal Engine / Carla). Thanks for the fix!