Code Monkey home page Code Monkey logo

Comments (3)

dabreegster avatar dabreegster commented on May 5, 2024

Thanks for the logs! The full weekday scenario on huge_seattle has loads of bugs -- this one is a known issue. (Getting a full day to complete without hitting permanent gridlock is only possible right now on the montlake map, which has lots of manual fixes to short roads / coupled intersections.)

I'm pretty sure this particular problem happens when there's a nice cycle of laggy heads (see https://github.com/dabreegster/abstreet/blob/master/docs/articles/trafficsim/article.md#exact-positions). I need to make an easy test case to repro this (using map_editor to create a synthetic map) and then think through what should happen here.

from abstreet.

dabreegster avatar dabreegster commented on May 5, 2024

Screenshot from 2020-04-12 15-26-50

I happened to get an easy repro of this problem. When a car is half in a turn, half on the end of the last lane, they're a "laggy head. That influences the front position of the first car on a lane; the laggy head prevents the first in the queue from being at the very end of the lane. get_car_positions recurses to figure out exactly where the back of the laggy head is. I have to figure out how to break the recursion and decide where the back of a car is for this case

from abstreet.

dabreegster avatar dabreegster commented on May 5, 2024

I think this particular issue is gone. https://github.com/dabreegster/abstreet/projects/2 the best way to track current work on getting simulations on large maps to work properly.

from abstreet.

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.