Dustin Carlino
5d8d8805a8
unstick my favorite intersection (and a few roundabouts)
2020-04-30 13:49:14 -07:00
Dustin Carlino
773ea6d5cf
fix graph connectivity problems
...
- forcing a sidewalk until we can snap OSM footpaths better
- fixing 0-cost CH edges
but, uh, now montlake without fixes gridlocks again. :D
2020-04-30 12:12:36 -07:00
Dustin Carlino
7a0b9cd09a
squeeze a little performance by using entry API in scheduler
2020-04-30 11:24:57 -07:00
Dustin Carlino
1814857319
park closer to buildings
2020-04-30 10:36:58 -07:00
Dustin Carlino
e1a40e0b97
make a variant of the trip table that shows parking overhead
2020-04-30 09:36:57 -07:00
Dustin Carlino
cea84757e1
making a little progress with ballard
2020-04-29 18:49:14 -07:00
Dustin Carlino
956b1ec4ea
banning an extremely questionable left turn... AND LAKESLICE WORKS
2020-04-29 18:11:03 -07:00
Dustin Carlino
2570db2501
update some lights and allow a little more box-blocking. making it to
...
5pm on lakeslice, no regressions elsewhere. officially cutover to
nofixes version of 23rd
2020-04-29 17:20:33 -07:00
Dustin Carlino
71ab388b47
for laggy heads, dynamically expand the blocked_by graph with the next car in the queue
...
and fix a bug where agents disappearing in a border didn't clean up
blocked_by immediately
2020-04-29 16:40:28 -07:00
Dustin Carlino
50ab88d3bb
woops, when a cycle is detected, sometimes two cars start going. 23rd
...
without fixes NOW COMPLETES :O
2020-04-29 15:27:02 -07:00
Dustin Carlino
4634205448
make the turn-conflict detector factor in blockages due to agents at the
...
front of an at-capacity queue
2020-04-29 14:49:31 -07:00
Dustin Carlino
c0b5ead639
display the blocked_by graph in debug mode
2020-04-29 12:34:09 -07:00
Dustin Carlino
0bc965f0b9
updated a few traffic signals along 23rd. have to filter out signal data
...
from fixed intersections, urgh
2020-04-29 12:15:22 -07:00
Dustin Carlino
787d5f13d3
only consider cars in the blocked_by graph. pedestrians can't get stuck in a turn. they're nimble.
2020-04-29 11:47:01 -07:00
Dustin Carlino
1ff1414cd5
reorganize intersection code to plumb less
2020-04-29 11:29:35 -07:00
Dustin Carlino
a2533244a4
temporarily? hardcode some exceptions to dont-block-the-box to make some
...
progress on 23rd
and tiny little cleanups
2020-04-29 11:14:53 -07:00
Dustin Carlino
ca22cadb0e
UI warmup: icons to describe overall trip mode
2020-04-29 09:37:16 -07:00
Dustin Carlino
734c06418a
It is 5 am
...
And you are listening
To Los Angeles
2020-04-28 14:31:23 -07:00
Dustin Carlino
18779c10ad
organizing data/input by city. (I tried organizing everything in data/,
...
but it's too big a change. small steps.)
2020-04-28 12:28:37 -07:00
Dustin Carlino
bba8ac9941
remove the screenshot MANIFEST; the more general one suffices
2020-04-28 11:39:10 -07:00
Dustin Carlino
0aaf9a1487
workaround repeated scenario running out of parking
2020-04-28 10:12:08 -07:00
Dustin Carlino
a311750493
remove code for the extremely defunct a/b test mode. just a refactoring burden at this point.
2020-04-27 20:54:25 -07:00
Dustin Carlino
b93f96628f
hackily add a second city to the importer. remove the per-map
...
.gitignore; MANIFEST covers this better
2020-04-27 20:36:04 -07:00
Dustin Carlino
55c8a9d875
use colorous for heatmaps
2020-04-27 18:48:19 -07:00
Dustin Carlino
077035aacb
better offstreet parking rendering: don't jitter the parking icon, face
...
the correct direction unparking, make the driveway line extend from the
sidewalk line
2020-04-27 17:29:20 -07:00
Dustin Carlino
fe84b81e85
trip table: another sortable column, filter by type, pagination
2020-04-27 14:40:56 -07:00
Dustin Carlino
9bd7871d3a
start reviving the traffic signal challenge. ditch the tutorial, add a
...
cutscene
2020-04-27 12:03:25 -07:00
Dustin Carlino
e2cbb7a3e4
enable the new gridlock cycle breaker by default; it's helping immensely and doesnt seem to have problems
2020-04-27 11:18:36 -07:00
Dustin Carlino
05b67b16fb
new release
2020-04-26 14:14:57 -07:00
Dustin Carlino
77918358f1
restore the commute challenges [rebuild]
2020-04-26 14:05:00 -07:00
Dustin Carlino
94a567853b
fix the escort tutorial. fixes #52 . also fix the parking availability
...
tutorial, now that there's lots of offstreet parking
2020-04-26 13:14:09 -07:00
Dustin Carlino
3d91b5ae8e
fix bike/car tutorial. compare slowest trip before with slowest trip
...
after.
2020-04-26 12:56:51 -07:00
Dustin Carlino
193ff2344a
require a particular directed road for spawning from borders
2020-04-26 12:35:07 -07:00
Dustin Carlino
0eaf33ff46
stop generating RNGs from entropy. use the prebaked seed by default. allow explicitly changing the rng, but no use for that yet
2020-04-26 11:38:32 -07:00
Dustin Carlino
1f9e9f5479
woops, didnt regenerate popdat.bin after a change yesterday, causing all the driving trips to disappear. just regenerating data.
...
and add a hint to the tutorial to fix #51
2020-04-26 11:29:32 -07:00
Dustin Carlino
3f48b4bf22
simplify stuff in analytics, removing a major bottleneck in the everyone_weekday scenario
2020-04-25 21:42:29 -07:00
Dustin Carlino
1ecea0a88f
delete old code for scoring things in currently inactive challenge
...
modes. counting ongoing trips is complicated from a player perspective
and also expensive in analytics. has the nice side-effect of forcing me
to make one of the tutorial levels more robust
2020-04-25 21:29:48 -07:00
Dustin Carlino
275d1f846b
make remote trips work properly. plumb through events for them.
2020-04-25 16:47:32 -07:00
Dustin Carlino
725e9e4532
generate a scenario purely with off-map trips. problems running it, but
...
good start.
2020-04-25 15:18:27 -07:00
Dustin Carlino
8be319300b
fold the popdat crate into importer; nothing else should have any dependencies on it
2020-04-25 13:14:48 -07:00
Dustin Carlino
2c774224ce
ahhh the free offstreet spots were not being generated at ALL correctly
2020-04-25 12:54:51 -07:00
Dustin Carlino
2b0a1c2447
parked cars and info panels: center on them, be explicit about being
...
parked inside, list owned vehicles better, say how many spots are free
2020-04-25 12:15:49 -07:00
Dustin Carlino
7eba721145
decide extra offstreet parking by an option in convert_osm. remove the old standalone binary in favor of just using importer
2020-04-25 10:36:49 -07:00
Dustin Carlino
3ee2c91a10
plumb OffMapLocation through events
2020-04-24 23:07:13 -07:00
Dustin Carlino
34c61ce007
plumb OffMapLocation a little further into the sim. give the player a
...
little info about off-map locations.
2020-04-24 22:41:51 -07:00
Dustin Carlino
dd1c9f936d
plumb through exact off-map locations from popdat->scenario
2020-04-24 22:05:33 -07:00
Dustin Carlino
65ef5d4149
make LonLat implement Eq
2020-04-24 21:36:52 -07:00
Dustin Carlino
55e0d2a364
overhauling offstreet parking model:
...
- almost all buildings can have a few spots
- render things a little differently
- increase paranoia of buildings that can have driveways, to avoid many
complicated simulation issues
2020-04-24 12:50:22 -07:00
Dustin Carlino
855bba7cc8
more alert locations. use to easily jump to cars entering/exiting
...
parking inside buildings.
2020-04-23 20:23:39 -07:00
Dustin Carlino
597ee6c47e
use Event::Alert instead of random println's, and make better controls for handling these
2020-04-23 16:09:32 -07:00