Commit Graph

2720 Commits

Author SHA1 Message Date
Dustin Carlino
2d02f90d9b another easy one -- one phase per road 2019-10-22 14:29:58 -07:00
Dustin Carlino
92b15507d5 new strawman 2-phase traffic signal policy 2019-10-22 13:54:09 -07:00
Dustin Carlino
25ab691946 add basic usage instructions 2019-10-22 12:27:47 -07:00
Dustin Carlino
44eb13d5ee argh, there are two tags used for shared left turn lane 2019-10-21 19:31:41 -07:00
Dustin Carlino
d358f574d5 handle OSM polylines that have redundant internal nodes and cause weird shifting later (26th and gilman) 2019-10-21 19:28:31 -07:00
Dustin Carlino
c9db056c3a start representing shared left turn lanes. nothing uses them yet,
just draw them (without the left turn markings)
2019-10-21 16:14:16 -07:00
Dustin Carlino
63127960c9 skip info phase of menus if there is no info 2019-10-21 15:28:31 -07:00
Dustin Carlino
7ead5f9281 make traffic signal diagram always be a fixed width; zoom the intersection based on that 2019-10-21 15:17:21 -07:00
Dustin Carlino
7f0f6a8e89 the (mostly) triumphant return of mac releases \o/ 2019-10-20 15:40:54 -07:00
Dustin Carlino
0ff43e968f new release 2019-10-20 13:38:10 -07:00
Dustin Carlino
c9a6f0a7d8 call out agents that've been blocked in an intersection for a while.
this is basically a fast gridlock detector
2019-10-20 12:49:25 -07:00
Dustin Carlino
8c826a870c try waking up people at intersections in waiting-order, for proper fairness 2019-10-19 21:41:53 -07:00
Dustin Carlino
08b0bfa0c2 spot fixes to make caphill flow 2019-10-19 20:53:11 -07:00
Dustin Carlino
d04b6a240e when trip starts from a garage, dont walk down the front path uselessly first 2019-10-19 20:18:06 -07:00
Dustin Carlino
f78b11d633 (temporarily) filter out driveways too close to either end of the road.
get cars unparking from driveways properly.
2019-10-19 19:10:59 -07:00
Dustin Carlino
50728cf375 use epsilon_eq for polyline extension, so offstreet parking geom doesnt break in one case 2019-10-19 17:42:03 -07:00
Dustin Carlino
28bb1ba194 interactively spawn a parked car in a garage 2019-10-19 17:17:33 -07:00
Dustin Carlino
5b9a8dd914 seeding buses more robustly. spot fixes to maps to prevent regressions 2019-10-19 16:54:54 -07:00
Dustin Carlino
7020544073 show which bus a ped is waiting for 2019-10-19 16:00:55 -07:00
Dustin Carlino
f1f951fc1c Revert "distinguish parked cars that have a trip scheduled or not"
This reverts commit dba7ced094.

Is slow, not so useful. Could implement more intelligently, but not
worthwhile yet.
2019-10-19 15:24:40 -07:00
Dustin Carlino
a4b24c2643 speed up some stuff indirectly used in bus locations to not be so terrible 2019-10-19 15:00:36 -07:00
Dustin Carlino
6989c72aa1 show location of all buses serving a route 2019-10-19 13:40:24 -07:00
Dustin Carlino
28f11e4ab3 draw entire bus route in explorer, with labeled stops 2019-10-19 13:02:17 -07:00
Dustin Carlino
b4b4e8fae8 solid yellow lines for oneways. dashed looks really strange with offside parking. 2019-10-18 15:08:30 -07:00
Dustin Carlino
96a38b98b1 allow sidewalks on both sides of all oneways. dont remember where the negative case was earlier. this was causing parking->sidewalk crashes in many maps 2019-10-18 14:50:05 -07:00
Dustin Carlino
c78486f039 fixes to short roads in 23rd. full day with freeform policy no longer
gridlocks! starting a vague tracking doc of outstanding issues per map
2019-10-18 14:19:32 -07:00
Dustin Carlino
44e74d1ed3 trips from border to a bldg make that bldg own the car, so it can be reused. vastly reduces the number of aborted trips in the full montlake run 2019-10-18 12:50:48 -07:00
Dustin Carlino
56a277a284 show live parking counts in that analytics legend 2019-10-18 12:35:49 -07:00
Dustin Carlino
468fd65021 copy over highway type too for coloring. fill out some metadata in the
520 fixes.
2019-10-18 12:15:51 -07:00
Dustin Carlino
d6a9e0e541 just one copy of the code to calculate parked car seeding per bldg, in popdat. remove variant in scenario manager 2019-10-18 11:47:03 -07:00
Dustin Carlino
73a2482b6a after escaping from instantiated scenario, wind up back at splash screen, not scenario manager 2019-10-18 11:25:01 -07:00
Dustin Carlino
dba7ced094 distinguish parked cars that have a trip scheduled or not 2019-10-17 14:54:30 -07:00
Dustin Carlino
012d5bdd1d make parking/unparking on offside shift the correct direction.
theoretically also handle unparking from a driveway, but cant test that
easily yet...
2019-10-17 14:40:27 -07:00
Dustin Carlino
5e41a607fd adjust starting pos of parked cars going to offside driving lane 2019-10-17 14:11:07 -07:00
Dustin Carlino
70ac1a4495 interactive spawner can force using parked cars. revamping that terrible
code.
2019-10-17 13:44:14 -07:00
Dustin Carlino
0a97482a16 er, dont need parking hints on buildings and areas. also adjust traffic
signal box color; needed updating after changing colors a while ago
2019-10-17 12:44:00 -07:00
Dustin Carlino
4eadcc29f5 allow toggling parking when blockface hints are different through the way. just warn. 2019-10-17 11:36:03 -07:00
Dustin Carlino
c70a57e7ae click to cancel info panel 2019-10-17 11:29:02 -07:00
Dustin Carlino
b28874d5bc find trips using a parked car later 2019-10-16 18:54:28 -07:00
Dustin Carlino
03d31477af make sim handle parking lanes on off-side of a oneway. ostensibly.
haven't forced a test case yet
2019-10-16 17:55:22 -07:00
Dustin Carlino
b479c8afed hotkeys and tooltips for buttons 2019-10-16 15:42:58 -07:00
Dustin Carlino
83d10c714b toggle between 3 states for hiding modal menus 2019-10-16 15:21:13 -07:00
Dustin Carlino
10f2f6008f improve map_editor's intersection preview
- timer for setting up world
- preview all intersections
- move world to map_editor; it's too oddly specialized
- dont show circle while previewing intersection geom
- show overlapping intersection polygons
2019-10-16 15:08:22 -07:00
Dustin Carlino
413525aae5 refactor RawRoad -> initial Road 2019-10-16 10:36:39 -07:00
Dustin Carlino
1438a1490b allow parking lanes on the 'backwards' direction of oneways. they exist, still need to use them properly. 2019-10-16 10:23:29 -07:00
Dustin Carlino
22df33f66a try to clean up crashes with showing_pts state 2019-10-16 08:58:14 -07:00
Dustin Carlino
84c5241506 when toggling parking, make sure hints applied uniformly to the entire way. warn if not. 2019-10-16 08:47:48 -07:00
Dustin Carlino
1fc9792378 finish producing the osm change 2019-10-15 18:49:06 -07:00
Dustin Carlino
76f5dc21be steps towards producing an osm change file 2019-10-15 13:43:47 -07:00
Dustin Carlino
74372c64b6 count how many roads have been audited. apply default tags (and mark
them inferred) to everything, to count properly.
2019-10-15 12:17:38 -07:00