Git Product home page Git Product logo

Comments (16)

johschmitz avatar johschmitz commented on June 15, 2024

Can you provide the .blend file with the problematic track? You can zip it to upload it here.

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

I made a lot of changes, please let me know if this problem still exists in the newest version.

from blender-driving-scenario-creator.

teoctopus avatar teoctopus commented on June 15, 2024

I'm sorry to bother you. I have the same problem now. I put the blend file here. Can you help me see where the following problems are?

map2.zip

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

I actually found an issue with this and am currently rewriting the part with the lane linking. Thanks for the file, I can also have a look at that one to see if it is the same problem.

from blender-driving-scenario-creator.

teoctopus avatar teoctopus commented on June 15, 2024

我实际上发现了一个问题,目前正在重写带有车道链接的部分。感谢您提供的文件,我也可以看看那个文件,看看它是否是相同的问题。

Thank you for your reply.Thank you for making this plug-in,it's really useful!

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

@teoctopus I released a new version with the lane link rewrite:

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

Have a look to see if it helps and otherwise I can also have a look myself later when I have time again.

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

I see you designed a road with a single lane, maybe this is an edge case I did not cover, will have a look.

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

I stripped down the provided map2 file to two roads and it seems that you somehow managed to connect the two straight roads which are next to each other together.
image
Maybe you used the road snapping to achieve this? Can you describe a bit better what you did so that I can understand how to fix it or if it is even easily possible to fix this?

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

I suspect that you maybe snapped the road at the start point and then used the Shift key in oder to put it in parallel to the other road. This can not work the way the addon is currently programmed so I will disable this for now until I find a way to implement some tool that lets us create parallel roads.

from blender-driving-scenario-creator.

teoctopus avatar teoctopus commented on June 15, 2024

image
Thank you for your reply. What I want to make is such a circular road. I try to make a straight section with two lanes, but this seems to be impossible. And I want my car to drive on the left. How can I solve this problem?

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

Please try again with the newest release
https://github.com/johschmitz/blender-driving-scenario-creator/releases/tag/v0.18.1
try to hold down Ctrl to make roads start/end point snap to the grid but without snapping to the other road end (don't touch a road with the mouse pointer). I need to try this myself and I am thinking maybe I can suppress the road snapping while we hold the modifier key down and grid snapping is active.

from blender-driving-scenario-creator.

teoctopus avatar teoctopus commented on June 15, 2024

Sorry, I still can't export the xodr file. I don't know where the problem is. Is there any other way to draw such a lane?
Uploading _20230227075444.png…

from blender-driving-scenario-creator.

teoctopus avatar teoctopus commented on June 15, 2024

_20230227075444

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

I have a patch that disables road snapping during grid snapping on the main branch, need to see if this fixes your problem.

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

I released a new version with the snapping patch and now I am playing with your way of building roads. https://github.com/johschmitz/blender-driving-scenario-creator/releases/tag/v0.19.0 That helps somewhat but it seems that there is still a bug somewhere. I will have to further investigate.

from blender-driving-scenario-creator.

johschmitz avatar johschmitz commented on June 15, 2024

Okay I found the bug, the roads where still linked when you touched them with the mouse even if the road snapping was disabled. I have pushed a bugfix release

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

Please try it out @teoctopus

from blender-driving-scenario-creator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.