Commit Graph

413 Commits

Author SHA1 Message Date
Dustin Carlino
8a1ee5c32b slight improvements to Timer API and output 2018-10-30 15:17:04 -07:00
Dustin Carlino
7bb1bab755 pulling sidewalk width from KML 2018-10-30 14:15:57 -07:00
Dustin Carlino
de8f6760b6 improving debugging of extra shapes 2018-10-30 13:24:00 -07:00
Dustin Carlino
a6bc3ed2a0 progress for KML parsing 2018-10-30 13:18:24 -07:00
Dustin Carlino
bb9c98b54e splitting into two Bounds types 2018-10-29 14:16:30 -07:00
Dustin Carlino
cc9f0289ab exporting polygons in the osmosis format... wait, may need to change the
coordinate system first. let's first refactor bounds to be more careful
about existing code.
2018-10-29 12:29:11 -07:00
Dustin Carlino
949529b780 adding some initial neighborhood summary for an a/b test 2018-10-29 11:24:01 -07:00
Dustin Carlino
0eacc4c040 track un-labeled time per span 2018-10-28 19:37:27 -07:00
Dustin Carlino
3a62ed8695 refactor get_bbox 2018-10-28 18:43:36 -07:00
Dustin Carlino
a074ab1890 speeding up neighborhood summary with quadtree 2018-10-28 18:34:29 -07:00
Dustin Carlino
f011f8f56d making hierarchial progress timer to replace flamegraphs. using in many,
but not all, places
2018-10-28 16:40:37 -07:00
Dustin Carlino
51fa5a0aba adding progress to UI stuff and speeding up steepness viz initialization
very slightly
2018-10-28 15:18:08 -07:00
Dustin Carlino
15da2fe9cd using quadtrees to MASSIVELY speed up sidewalk matching 2018-10-28 13:59:54 -07:00
Dustin Carlino
8c5716d7c4 trim back bldg front path lines to not overlap sidewalk 2018-10-26 15:36:20 -07:00
Dustin Carlino
37006369af fix other crates that have Color constants 2018-10-26 15:00:04 -07:00
Dustin Carlino
19ba0b02c0 use OSM road type colors 2018-10-26 13:13:48 -07:00
Dustin Carlino
e7e3ceddb2 not caching Colors in renderables, which cleans up DrawMap construction 2018-10-26 10:39:23 -07:00
Dustin Carlino
898e036c7e the great color scheme refactor! 2018-10-24 19:18:37 -07:00
Dustin Carlino
86d578f4f8 oops, nondeterminism in map model routes 2018-10-24 14:28:56 -07:00
Dustin Carlino
740597b64f even more convenient debugging, by marking what agent is being processed everywhere 2018-10-24 13:33:07 -07:00
Dustin Carlino
580ab797de catching simulation panics in the UI, to print some debug info before dying 2018-10-24 13:19:13 -07:00
Dustin Carlino
da786f9348 gather initial summary text for neighborhoods 2018-10-23 16:18:33 -07:00
Dustin Carlino
3d40f7c91b starting a plugin to show all neighborhoods with a very basic text summary 2018-10-23 13:54:17 -07:00
Dustin Carlino
d4a2ecb693 show both future routes for diffing single agent 2018-10-23 10:17:43 -07:00
Dustin Carlino
dd0578d504 dont cancel diff worlds when an agent is mode-switching 2018-10-23 10:04:11 -07:00
Dustin Carlino
9883da6fa8 fix bugs with follow plugin at the end of the trip 2018-10-22 16:32:58 -07:00
Dustin Carlino
9660794467 show route by trip, not agent 2018-10-22 14:39:25 -07:00
Dustin Carlino
afa52e4bad follow a trip, not a ped/car, so mode changes matter less 2018-10-22 14:30:51 -07:00
Dustin Carlino
9c1ae28bf8 ped trace_routes were wrong for contraflow steps 2018-10-22 13:16:30 -07:00
Dustin Carlino
a1ac8cf7dd plugin to show diff for all agents 2018-10-22 11:22:16 -07:00
Dustin Carlino
144fa638d0 reduce import list in ui 2018-10-22 10:57:37 -07:00
Dustin Carlino
02477d6717 moving plugins to a generic list 2018-10-22 10:45:14 -07:00
Dustin Carlino
feefa8dc34 move draw to the Plugin trait 2018-10-22 09:56:17 -07:00
Dustin Carlino
ce293cdd38 reorder the plugins to be grouped simply 2018-10-22 09:41:23 -07:00
Dustin Carlino
0b07ef94d9 use vectors instead of match, and have a constant for number of plugins.
still kind of repetitive, but better.
2018-10-22 09:19:42 -07:00
Dustin Carlino
f278019560 cleanup: rename the trait 2018-10-22 09:06:02 -07:00
Dustin Carlino
b57a4335e0 porting the last two plugins to generic event() 2018-10-22 09:04:08 -07:00
Dustin Carlino
52535771e3 making road editor stateless; map should hold the changed edits 2018-10-22 08:39:32 -07:00
Dustin Carlino
2a00c9b25a converting all the rest to generic event()... 2018-10-21 21:40:08 -07:00
Dustin Carlino
21e2f1ce66 proof-of-concept make event() generic for two plugins 2018-10-21 20:25:24 -07:00
Dustin Carlino
47d385e40c splitting per-map plugins out too! 2018-10-21 20:15:38 -07:00
Dustin Carlino
e987282e3c removing UIWrapper 2018-10-21 19:28:17 -07:00
Dustin Carlino
523a6358fa moving list of plugin callbacks to UI directly 2018-10-21 19:23:27 -07:00
Dustin Carlino
1151ef81f1 making a more specific PluginCtx 2018-10-21 19:19:30 -07:00
Dustin Carlino
fd2b77f958 splitting UI plugins into another struct 2018-10-21 19:09:22 -07:00
Dustin Carlino
def2f60a92 refactor log adaptor stuff 2018-10-21 11:32:17 -07:00
Dustin Carlino
66bbdc0362 script to save all the maps with edits. no loading yet 2018-10-20 09:02:44 -07:00
Dustin Carlino
d6253a1721 dont draw stop sign on degenerate intersections 2018-10-18 15:28:34 -07:00
Dustin Carlino
1509a674b1 WIP some fixes to OSM->lane types
- roundabouts have less stuff
- simplify the code
- motorways and motorway links are just driving
- sidewalks on one-ways
2018-10-18 12:05:11 -07:00
Dustin Carlino
35566543f1 briefly play around with cpuprofiler and gperftools 2018-10-18 10:54:04 -07:00