Commit Graph

2645 Commits

Author SHA1 Message Date
Dustin Carlino
2edb275d3c rename cycle -> phase, match the literature 2019-10-09 15:27:25 -07:00
Dustin Carlino
21aa42891d parameterizing slider dims, making them match menus 2019-10-09 15:03:23 -07:00
Dustin Carlino
da0b880484 place mouse tooltips away from screen edge, just like context menus 2019-10-09 11:21:04 -07:00
Dustin Carlino
ec7d0b463d force modal menus beneath sliders to have top-left corner at a point; stop doing the jump left/right behavior based on running off the screen. need a proper vertical stacking layout thing for that. 2019-10-09 10:44:11 -07:00
Dustin Carlino
e0ae1d5195 tooltip with key bindings for hide/expand icons. doesn't look great
though.
2019-10-09 10:29:11 -07:00
Dustin Carlino
7e40f6797e avoid crash in individ_trips 2019-10-08 17:09:32 -07:00
Dustin Carlino
b7b3a97a5e remove parking from SR-99 and other highways :) 2019-10-08 11:41:45 -07:00
Dustin Carlino
8d826c2f43 ah, need to rerender lane on the other side of the road for contraflow to erase dashed white lines 2019-10-08 11:32:30 -07:00
Dustin Carlino
ee5462e7c4 woops, wasnt keeping menu state synced when pausing externally 2019-10-08 11:20:26 -07:00
Dustin Carlino
258f3d4528 reverse lane direction as a new edit. might be a few determinism issues,
but seems to mostly work.
2019-10-07 18:04:31 -07:00
Dustin Carlino
98d7f26f2d change pause/resume button to say the appropriate thing, now that it's easy 2019-10-07 14:58:55 -07:00
Dustin Carlino
7c3a26fed8 making ItemSlider and all trip viz also combine menu and slider better 2019-10-07 14:54:42 -07:00
Dustin Carlino
5b6eb8629c color buildings by number of cars needed 2019-10-07 13:19:45 -07:00
Dustin Carlino
3459d9c8fd change default font size by flag 2019-10-07 10:39:09 -07:00
Dustin Carlino
e7507bad85 plumbing initial settings to ezgui better 2019-10-07 09:45:53 -07:00
Dustin Carlino
f09b9f8a19 share shortcuts between maps 2019-10-07 09:34:11 -07:00
Dustin Carlino
cc07d37664 more easily show pts for diff road in editor 2019-10-06 15:56:12 -07:00
Dustin Carlino
1df7c580f3 hack in a way for ModalMenu to work alongside a slider. use in
SpeedControls.
2019-10-05 17:01:33 -07:00
Dustin Carlino
47ccf2c70b making normal ModalMenu be able to add/remove items. killing off DynamicMenu. 2019-10-05 14:59:59 -07:00
Dustin Carlino
13976ea0c5 start undoing the separate DynamicMenu experiment. move agent colorscheme back into main modalmenu 2019-10-05 14:23:52 -07:00
Dustin Carlino
d0879117f3 modernizing chokepoints finder too 2019-10-05 14:13:21 -07:00
Dustin Carlino
bbbfc4a064 fold trip stats into new exclusive analytics thing, so it also auto-updates 2019-10-05 13:56:43 -07:00
Dustin Carlino
85ebb225cd unifying parking availability, intersection delay, thruput stats into one exclusive thing that consistently auto-updates 2019-10-05 13:34:30 -07:00
Dustin Carlino
b40b26def8 dont draw agents when unzoomed and showing some kind of heatmap 2019-10-04 16:07:07 -07:00
Dustin Carlino
1a10e8982a basic heatmap showing busiest roads and intersections. have to revive
Sim Events kind of.
2019-10-04 15:33:26 -07:00
Dustin Carlino
9d35f0f92f fix some bad intersections in 23rd 2019-10-04 12:05:09 -07:00
Dustin Carlino
a85d7fffcd let yields go at a traffic signal when the priorities are blocked. wake up waiting agents a little more granularly. 2019-10-04 11:51:25 -07:00
Dustin Carlino
a45b393b0d woops, headless crate didnt have the fix to toggle off cpuprofiler by default 2019-10-04 11:21:55 -07:00
Dustin Carlino
0d27a11b2b map_editor tool to quickly absorb name, speed limit, lanes of nearby road for synthetic roads 2019-10-02 12:11:11 -07:00
Dustin Carlino
5f9cf2accd display basic labels on trip stats 2019-10-01 19:28:03 -07:00
Dustin Carlino
393eaff249 compacting SimOptions and SimFlags 2019-10-01 14:22:00 -07:00
Dustin Carlino
6f75cf32eb mvp of graphing finished trips over time 2019-10-01 14:09:17 -07:00
Dustin Carlino
71096cf122 refactoring map_editor, by letting main reach into RawMap and World directly for simple stuff 2019-10-01 12:57:51 -07:00
Dustin Carlino
3fd73af32b fix edge case crash when spawning agents interactively 2019-10-01 12:44:26 -07:00
Dustin Carlino
db4db7e0d9 very basic tool to point out intersections with the most contention 2019-09-30 11:39:55 -07:00
Dustin Carlino
c82e90bbec allow merging short roads with metadata changes. some fixes around
madison
2019-09-30 10:11:45 -07:00
Dustin Carlino
75b18ccfd5 plumb back better errors for not being able to make map_editor changes 2019-09-30 09:49:47 -07:00
Dustin Carlino
707a649fdd skip empty phases of generated traffic signals 2019-09-30 09:35:42 -07:00
Dustin Carlino
a539270beb dont compare GPSBounds exactly, bc floating pt serialization problems.
add a turn restriction near uw.
2019-09-30 09:24:17 -07:00
Dustin Carlino
c971a732dd more flexibly merge short roads with stop sign and traffic signal. use it to fix a stuck part of 23rd. 2019-09-29 20:50:14 -07:00
Dustin Carlino
2e5649bf7e show count of aborted trips in scoreboard too 2019-09-29 19:19:51 -07:00
Dustin Carlino
909ce857fb count aborted trips with active agent counter better 2019-09-29 14:44:09 -07:00
Dustin Carlino
4de97f2f2b fixing two montlake roundabouts; saw some gridlock there. the whole day
now finishes without gridlock. O_O
2019-09-29 14:17:10 -07:00
Dustin Carlino
666896bb88 start over with 520 fixes, after hopefully fixing all the ID issues 2019-09-29 12:59:31 -07:00
Dustin Carlino
9d237f314b dont conflict between synthetic OSM IDs created by map_editor and by map clipping 2019-09-29 12:43:02 -07:00
Dustin Carlino
1edb3cf81b digging into why synthetic roads are getting connected to weird places.
warping functionality, more ID debugging
2019-09-29 12:30:48 -07:00
Dustin Carlino
e335d2ff02 manually repair the 520 fixes. things look reasonable for montlake and
23rd, but very weird for other maps
2019-09-29 11:49:16 -07:00
Dustin Carlino
b99dfce763 transform geometry in MapFixes based on GPSBounds. also have to
abandon the 520 fixes, because something odd is going on with the newer
osm import. :( IDs changed?
2019-09-29 10:17:02 -07:00
Dustin Carlino
ad67027250 tweak psrc scenario name, so savestates are easier to use on the CLI 2019-09-28 16:39:44 -07:00
Dustin Carlino
80106eb3d5 script psrc import 2019-09-28 10:44:46 -07:00