Dustin Carlino
84e682adc7
Document all ongoing/tentative collaborations
2020-09-10 20:40:16 -07:00
Dustin Carlino
e1270a1338
Make trip timeline phases hoverable with a tooltip, but not be a clickable button
2020-09-10 16:54:30 -07:00
Dustin Carlino
0cc1c654d1
Allow selecting multiple traffic signals when unzoomed, and show the
...
number of signals selected.
2020-09-10 16:15:42 -07:00
Dustin Carlino
f1b1263ee2
Fix congestion capping impl when RESERVE_WHEN_STARTING_TRIP is enabled. It wasn't reseting the counter every hour.
2020-09-10 14:29:06 -07:00
Michael Kirk
c11cecf1ac
log cleanups ( #321 )
2020-09-10 14:20:35 -07:00
Michael Kirk
f685af47a5
proletariat robot considers resident/worker capacity ( #320 )
...
proles: account for work capacity
previously all residents went to work on the map, but if the
neighborhood is mostly residential that meant they were "competing"
heavily for the scarce jobs available on the map.
with this commit, we do a better job of spreading worker/residential
demand to account for what is available, and fill in the gap with
off-map trip origins/desitinations.
e.g. if a neighborhood is mostly residential, we have folks commute off
of map. If a neighborhood is mostly commercial, we have folks commute
into the map.
2020-09-10 14:04:20 -07:00
Dustin Carlino
2d24bb4a36
Add an API example in Go to measure trip times with different
...
percentages of people cancelled.
2020-09-10 11:44:11 -07:00
Dustin Carlino
8cc61aafc8
Add a method to the API to modify a scenario. No callers/tests yet.
2020-09-09 19:52:15 -07:00
Dustin Carlino
9844eeecc8
Improve error messages for old EditIntersections, for #319
2020-09-09 16:01:29 -07:00
Dustin Carlino
1388694eec
Flag off the live map edits, since it's going to take lots more work to stabilize this, but git branches are scary to maintain for more than a few days. #312
2020-09-09 15:03:14 -07:00
Dustin Carlino
220f33e2ec
Abort cars bound to park on edited lanes. #312
2020-09-09 15:03:14 -07:00
Dustin Carlino
53f35f5de1
Nuke pedestrians walking to deleted cars. #312
2020-09-09 15:03:14 -07:00
Dustin Carlino
39290f899c
Handle some of the live changes to parking by deleting parked cars on
...
edited lanes. #312
2020-09-09 15:03:14 -07:00
Dustin Carlino
61acf25b8e
Initialize intersections converted live to traffic signals. #312
2020-09-09 15:03:14 -07:00
Dustin Carlino
d8011a90f4
Handle live edits by just aborting any current trips that cross an
...
edited road or closed intersection. #312
Along the way, refactor more context plumbing in DrivingSimState.
2020-09-09 15:03:14 -07:00
Dustin Carlino
39ab06df7d
Prepare for editing the map live in all cases by making the UI changes. #312
2020-09-09 15:03:14 -07:00
Dustin Carlino
e8d857fa32
release with patch
2020-09-08 18:44:42 -07:00
Dustin Carlino
1b450eaf88
just trigger a [rebuild]
2020-09-08 17:21:22 -07:00
Dustin Carlino
c5bf1fcb74
Fix saving scenarios, broken in 65e07d9cc7
2020-09-08 08:24:23 -07:00
Dustin Carlino
5c6e781016
Collapse a few more of the Transitions
2020-09-07 10:49:20 -07:00
Dustin Carlino
0b9b7e1a65
Fix a crash opening challenge modes. If somebody hits this in the latest
...
release, will put out a new build
2020-09-07 10:26:57 -07:00
Dustin Carlino
098e41ab51
new release
2020-09-06 14:31:03 -07:00
Dustin Carlino
5be4c2ca84
Add an API to add a new trip in the middle of the simulation. Fixes #313
...
[rebuild]
2020-09-06 13:53:31 -07:00
Michael Kirk
95b01c5f9e
macos fix: flip h-scroll to conventional direction ( #310 )
2020-09-06 13:10:37 -07:00
Dustin Carlino
70d2d1115e
Store polygon indices as u16, not u64. Maps from 743MB total down to
...
620MB!
2020-09-04 13:12:06 -07:00
Dustin Carlino
568a64df91
Don't store Rings for Polygons without any holes. Total map size from 751MB to 743MB
2020-09-04 12:18:53 -07:00
Dustin Carlino
193a3b1515
Restructure the trip mode choice in one of the activity models to more clearly branch based on trip distance, for #227
2020-09-04 11:15:17 -07:00
Dustin Carlino
4367c03a7d
Add a tool to generate a random proletariat robot scenario given an RNG seed, for the forecasting group. #313
2020-09-04 11:10:38 -07:00
Dustin Carlino
65e07d9cc7
Read/write scenarios in JSON, so people can manipulate them in any language. #313
2020-09-04 10:57:52 -07:00
Dustin Carlino
38ba8d55f3
Produce proper lanes for left-hand driving by intervening at the LaneSpec layer for #311 . Since London looks reasonable, opt it into the screenshot tests
2020-09-04 10:01:06 -07:00
Dustin Carlino
f610c66572
Remove the weird shifting/angle inversions from DrivingSide. First step
...
of #311 . Tested to not break righthand maps.
2020-09-04 10:01:06 -07:00
Nick Schimek
9be79f6e2d
Add link to testing strategy in main dev doc ( #315 )
2020-09-03 22:49:50 -07:00
Dustin Carlino
379724e370
Document testing strategy
2020-09-03 17:44:21 -07:00
Dustin Carlino
787b6046b6
Remove the RAM measurement utility. Only work on Linux, I'm not convinced it's correct, and the information isn't useful to see
2020-09-03 17:19:40 -07:00
Dustin Carlino
574bf99e17
WIP
2020-09-03 16:36:47 -07:00
Dustin Carlino
fbd3a603dc
Dodge a traffic signal rendering crash encountered near Trafalgar Square
2020-09-03 16:12:52 -07:00
Dustin Carlino
4576e9c1d0
Start importing a tiny slice of London, to start working on left-hand driving again
2020-09-03 16:09:17 -07:00
Dustin Carlino
86958f2e2f
Upgrade the old lane-based edit commands when importing edit JSON, for #113 and #224 . When there are lane reversals and lane type changes in the original edits, we still can't safely do the upgrade. But this handles most other cases, notably the 3 proposals.
2020-09-03 15:43:21 -07:00
Dustin Carlino
b13f5b0f4a
Move iotool things into the importer package, but keep separate binaries
2020-09-03 11:49:53 -07:00
Dustin Carlino
db23cf2d57
Update fast_paths, which implemented stall-on-demand and just about HALVED query time!
2020-09-03 11:28:38 -07:00
Dustin Carlino
ac345ce6ac
Fix mdbook link
2020-09-03 11:20:41 -07:00
Dustin Carlino
afe15041f8
Brainstorm how to apply edits without resetting the sim
2020-09-03 10:59:46 -07:00
Dustin Carlino
6a9d55b7f5
Since the first line of the osmosis file doesn't matter, more clearly rename it
2020-09-02 22:12:43 -07:00
Michael Kirk
6482f8b0a4
util to convert geojson to osmosis polygon ( #309 )
2020-09-02 15:29:25 -07:00
Michael Kirk
b85dd18757
fix broken link ( #308 )
2020-09-01 22:07:05 -07:00
Dustin Carlino
74aca40c0c
Mechanicallyish rename TurnGroup -> Movement for #197 , as decided in ( #306 )
...
https://github.com/dabreegster/abstreet/pull/302#discussion_r479571931
2020-08-29 15:18:54 -07:00
Michael Kirk
f58b60d7f1
timewarp restores last picked halt_limit ( #305 )
2020-08-28 17:20:50 -07:00
Dustin Carlino
a36ef99c06
Rename Phase -> Stage, to be more in line with standard traffic signal ( #302 )
...
controller terminology. Part of #197 .
Holding off on touching PhaseType and all of the serialized
seattle_traffic_signals format, since this will all change in Kyle's PR
anyway.
2020-08-28 17:19:23 -07:00
Dustin Carlino
93cf9f3b00
Speed up apply_edits. Instead of undo()ing all current commands and then ( #299 )
...
apply()ing the new ones, ignore any common prefix between the two
command-lists.
2020-08-28 16:47:27 -07:00
Michael Kirk
b861bec515
avoid jiggle in warp screen ( #303 )
2020-08-28 16:45:45 -07:00