Commit Graph

1722 Commits

Author SHA1 Message Date
Dustin Carlino
e3ad0ed02a prevent spillover by stopping cars from starting a turn when there's no room at the end 2019-02-20 14:37:18 -08:00
Dustin Carlino
fd7b20b01c spawn cars anywhere along first lane. seems to work! 2019-02-20 13:49:15 -08:00
Dustin Carlino
890eb070b0 preps to spawn cars anywhere along the first lane 2019-02-20 12:27:01 -08:00
Dustin Carlino
09af9e6cda removing the log crate completely. remove the DisplayLogs plugin, since
it's unused and unclear how it should work going forwards
2019-02-20 11:56:54 -08:00
Dustin Carlino
40206eccc3 removing most log usage from editor 2019-02-20 11:29:36 -08:00
Dustin Carlino
e4ef1ec79d removing log from sim 2019-02-20 11:22:51 -08:00
Dustin Carlino
a026c02890 removing log crate from map_model 2019-02-20 11:03:34 -08:00
Dustin Carlino
c2791a6ead using Warn in all of geom 2019-02-20 10:36:58 -08:00
Dustin Carlino
1848387ef0 starting to organize warnings in a much more reasonable way. 2019-02-20 10:08:02 -08:00
Dustin Carlino
381da1083b split up code 2019-02-20 08:23:36 -08:00
Dustin Carlino
46fb2c94b5 implement DrawAgents 2019-02-20 08:11:03 -08:00
Dustin Carlino
e80eef304c dont spawn in front of incoming cars 2019-02-19 20:44:33 -08:00
Dustin Carlino
c5034494a9 spawn lots more cars to stress test 2019-02-19 20:22:08 -08:00
Dustin Carlino
ded94d91d6 simplifying unzoomed mode again 2019-02-19 20:06:06 -08:00
Dustin Carlino
b254316934 drawing cars smoothly across steps 2019-02-19 18:06:20 -08:00
Dustin Carlino
02bc78002f drawing individual cars, without handling transitions yet 2019-02-19 17:26:23 -08:00
Dustin Carlino
6aafb908b6 randomize spawned paths a bit 2019-02-19 16:17:26 -08:00
Dustin Carlino
28984075cc spawn some conflicting traffic 2019-02-19 16:10:00 -08:00
Dustin Carlino
23aea90b2d draw freeflow group better 2019-02-19 15:46:50 -08:00
Dustin Carlino
8ec2303f48 basic intersection modeling with new DES 2019-02-19 14:52:53 -08:00
Dustin Carlino
7a8088f772 actually, trying a new idea for a DES model 2019-02-19 14:34:39 -08:00
Dustin Carlino
af59307c71 adjust the debug_areas stuff when unzoomed 2019-02-18 19:06:41 -08:00
Dustin Carlino
e4e07e7ba6 make it easier to debug areas 2019-02-18 15:56:15 -08:00
Dustin Carlino
49d00c8907 binary search intervals 2019-02-18 14:53:57 -08:00
Dustin Carlino
914f5a6642 check for cars too close during the stress test 2019-02-18 14:38:57 -08:00
Dustin Carlino
2e967af830 robustifying car following even more. passes all tests and looks pretty
good!
2019-02-18 14:18:50 -08:00
Dustin Carlino
c7ee1fa051 investigating problems with more followers. some fixes. 2019-02-18 11:08:31 -08:00
Dustin Carlino
633ddde2f3 detect intersection of two freeflow intervals 2019-02-17 20:12:30 -08:00
Dustin Carlino
27ad53e9e6 WIP runtime checks that nothing's too close 2019-02-17 19:34:01 -08:00
Dustin Carlino
b45766e09a handling some weird cases, making test pass everywhere 2019-02-17 19:19:08 -08:00
Dustin Carlino
b8fc610997 moving interval validations around. no point in doing them up-front.
remove useless hit_speed.
2019-02-17 18:30:02 -08:00
Dustin Carlino
43dad4090a factor in dist_behind to original intersection check. looks really good
overall! but not robust yet
2019-02-17 17:22:30 -08:00
Dustin Carlino
8944438164 fix end time for all intervals 2019-02-17 17:04:00 -08:00
Dustin Carlino
46a8414f21 make quadratic dist work for DES. seems to work! but need to adjust ALL
intervals...
2019-02-17 16:48:37 -08:00
Dustin Carlino
e1259587cb updating OSM source. some tweaks to make things work. 2019-02-17 15:58:04 -08:00
Dustin Carlino
5830908604 version control checksums of screencaps for all maps... well,
still not small_seattle. :P
2019-02-17 14:27:48 -08:00
Dustin Carlino
ad16247695 active agents per road in unzoomed mode 2019-02-16 17:55:02 -08:00
Dustin Carlino
2578219610 skip spawning vehicles when they wont fit in the requested spot. improve
some error messages related to spawning and add a timer for an
apparently very slow step
2019-02-16 11:51:42 -08:00
Dustin Carlino
c388d1f772 disabled DES quadratic distance... but some other improvements 2019-02-15 14:57:50 -08:00
Dustin Carlino
cee4c8750e spawn a few more cars when there's room 2019-02-15 13:15:17 -08:00
Dustin Carlino
8aee575056 make follower proceed to end of lane after following. and classify
intervals for easier reading.
2019-02-15 13:05:53 -08:00
Dustin Carlino
6b0a70268c clean up some interval epsilon stuff a bit 2019-02-15 12:55:36 -08:00
Dustin Carlino
cb6595574d make basic car following work on short lane. has epsilon hacks kind of
spread around, but seems solid.
2019-02-15 12:24:27 -08:00
Dustin Carlino
5a350f5ec2 DES cars cross short roads correctly! 2019-02-15 11:26:31 -08:00
Dustin Carlino
ab5fa6025e slight optimization to DrawBuilding 2019-02-15 09:06:48 -08:00
Dustin Carlino
a52bea9835 some steps to closing off incomplete areas better... mostly stuff to
quickly iterate on this problem later
2019-02-15 09:03:02 -08:00
Dustin Carlino
0c81234b56 script to reimport and reprecompute a single map. add golf course areas. 2019-02-14 19:05:29 -08:00
Dustin Carlino
b366a2dccd mouseover areas by flag 2019-02-14 18:42:24 -08:00
Dustin Carlino
134756fb22 simplify DrawLane a bit 2019-02-14 18:29:36 -08:00
Dustin Carlino
1fb3739c71 remove unnecessary flags; buildings and areas are always fast to draw now 2019-02-14 17:57:15 -08:00