Commit Graph

1507 Commits

Author SHA1 Message Date
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
Dustin Carlino
7fb9f721e1 store Area as a Polygon natively in Map 2019-02-14 17:35:34 -08:00
Dustin Carlino
cfe9a8d662 dont redraw stuff that gets drawn anyway in the big batch 2019-02-14 17:27:41 -08:00
Dustin Carlino
f37415bfaa fundamentally different behavior when zoomed in vs not 2019-02-14 17:14:01 -08:00
Dustin Carlino
65307e66f5 batch all parcels too 2019-02-14 16:56:33 -08:00
Dustin Carlino
e445f972dd move ToggleableLayers out of ezgui, stop associating a zoom with them 2019-02-14 16:51:27 -08:00
Dustin Carlino
c3cbd47645 organize DES model code a bit 2019-02-14 14:00:44 -08:00
Dustin Carlino
06c8ed72a9 flag-based profiling of GUI 2019-02-14 13:16:43 -08:00
Dustin Carlino
ee16c864c5 batch layers of stuff together to reduce draw calls. helps performance
MASSIVELY when zoomed out.
2019-02-14 12:37:33 -08:00
Dustin Carlino
b40770edae adjust clipping instead of leaving stuff in sometimes 2019-02-12 15:56:23 -08:00
Dustin Carlino
a2e2c3311e drawing border arrows way better 2019-02-12 14:42:03 -08:00
Dustin Carlino
adcf5ca2a8 tune min zoom levels a bit 2019-02-12 13:09:36 -08:00
Dustin Carlino
f91fbb67d6 remove duplicated polygon from DrawBuilding by passing in map 2019-02-12 12:37:29 -08:00
Dustin Carlino
b8eec25116 store Polygon in Building natively 2019-02-12 12:28:12 -08:00
Dustin Carlino
21ddbc2ecc very primitive breakdown of where memory is going 2019-02-12 12:11:10 -08:00
Dustin Carlino
e8b80526ae making a separate DrawRoad. thick bands at low zoom, yellow center line at high zoom. 2019-02-12 09:16:33 -08:00