Dustin Carlino
ac5aa927db
Test turn generation via goldenfiles instead. Revert the "import from a
...
raw string" stuff from the previous commit.
Add tests of a few interesting intersections. The results right now
aren't ideal, but this sets things up for fast iteraton.
2020-10-01 15:34:43 -07:00
Dustin Carlino
ec114e51e1
Prototype an idea for unit testing the turn generation code. Hardcode a
...
simple .osm, turn it into a full Map, and inspect the results.
2020-09-30 16:30:28 -07:00
Dustin Carlino
68b8276879
Start a doc brainstorming the platformification of map_model. Very
...
tentative ideas from recent conversations with different groups
2020-09-30 15:15:49 -07:00
Dustin Carlino
6aba65ec47
new release
2020-09-27 14:45:05 -07:00
Dustin Carlino
371d26f707
Bring in alleyways from OSM! [rebuild] ( #351 )
2020-09-27 12:20:27 -07:00
Dustin Carlino
2ddd9a62ff
Cleanups for #346 :
...
- Add Distance::min()/max()
- Bring in log crate everywhere
- Consolidate traffic signal validation
2020-09-26 10:11:08 -07:00
Dustin Carlino
0b99207427
Fix more broken links. Sadly can't enable linkcheck, because it has two false positives.
2020-09-24 19:37:16 -07:00
Dustin Carlino
86d47016be
Fix some broken mdbook links
2020-09-24 19:18:45 -07:00
Dustin Carlino
c9fbf67989
Rearrange headless API to explicitly apply edits at the same time as
...
specifying the scenario to run. #325
2020-09-24 13:14:49 -07:00
Dustin Carlino
07a8a21fec
Cap the busiest road. Not actually working yet, because all the commands
...
to manage edits are stomping on each other. #325
2020-09-24 12:08:46 -07:00
Dustin Carlino
47061fcb6c
Expose road throughput through the API. Start a second Python
...
experiment, refactor a bit. #325
2020-09-24 11:23:19 -07:00
Dustin Carlino
566f6a9e13
Port the Go experiment to Python
2020-09-23 15:00:38 -07:00
Dustin Carlino
e1de43b75c
Add a /map/set-edits API call
2020-09-21 10:18:02 -07:00
Dustin Carlino
d402cedeb1
new release
2020-09-20 13:19:43 -07:00
Dustin Carlino
8e32314979
Style the loading screen and add tips/news. Closes #180 [rebuild]
2020-09-20 13:02:27 -07:00
Michael Kirk
c0e2a611a0
introduce textures to rendering pipeline ( #333 )
2020-09-17 18:38:55 -07:00
Dustin Carlino
c0e530645b
Handle blackholes and reserving
2020-09-15 13:27:56 -07:00
Dustin Carlino
2aec7045cf
new release
2020-09-13 16:28:25 -07:00
Dustin Carlino
8ffb42b73f
prep for new release [rebuild]
2020-09-13 15:34:18 -07:00
Dustin Carlino
037e22e69e
Cleanup last few things for left-hand maps. Fixes #311 !
2020-09-11 14:17:31 -07:00
Dustin Carlino
84e682adc7
Document all ongoing/tentative collaborations
2020-09-10 20:40:16 -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
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
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
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
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
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
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
b13f5b0f4a
Move iotool things into the importer package, but keep separate binaries
2020-09-03 11:49:53 -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
Michael Kirk
6482f8b0a4
util to convert geojson to osmosis polygon ( #309 )
2020-09-02 15:29:25 -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
0eb1309ace
Add an API to get back all of the map edits so far
2020-08-28 14:09:44 -07:00
Dustin Carlino
f5b867848c
Fix links in mdbook
2020-08-27 14:39:54 -07:00
Dustin Carlino
2935d2379b
Mechanical rename of ezgui -> widgetry, a much better name to enchant the Rust community. #253 [rebuild]
2020-08-27 10:37:04 -07:00
Dustin Carlino
1c27ba39c7
Upgrade to Rust 1.46. Not using any of its features yet, though
...
https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html#track_caller
could be helpful. [rebuild]
2020-08-27 09:31:59 -07:00
Dustin Carlino
59b14426bb
Improve shared left turn lane markings and reorg some docs
2020-08-26 12:35:29 -07:00
Dustin Carlino
8b7ad86647
Regularly import Tel Aviv!
2020-08-26 10:25:45 -07:00
Dustin Carlino
83a5df7886
Add an API for the Xi'an group to get agent positions
2020-08-26 09:22:33 -07:00
Dustin Carlino
219622311d
Add dev unverified workaround to mac instructions
2020-08-25 12:04:01 -07:00
Dustin Carlino
b99996c5be
Oh no, the install URLs on the instructions page weren't actually links
2020-08-25 08:44:32 -07:00
Dustin Carlino
bf57c26278
Documenting the trip transitions right now, partly as brainstorming for refactoring
2020-08-23 14:10:52 -07:00
Dustin Carlino
dc5bd7f904
new release
2020-08-23 12:09:45 -07:00
Dustin Carlino
11832aa606
Record throughput through a traffic signal by direction, expose through
...
the API (#245 ), and beef up the Python example.
Impact to prebaked file size is tiny -- for lakeslice, the original
intersection_thruput is 2MB and the new traffic_signal_thruput is 435KB.
[rebuild]
2020-08-22 09:13:16 -07:00
Dustin Carlino
2783c3e180
Expose the granular delays through an API for reinforcement learning ( #245 ).
2020-08-20 16:21:52 -07:00
Dustin Carlino
14c66c5528
A humble start to a Percent type for #274 . There are so many places to
...
use it; just start a few in ezgui. Also a good time to object to the API
so far.
2020-08-20 11:01:59 -07:00
Dustin Carlino
7cbc0fd95c
Make a tool to dump the map in JSON.
2020-08-19 12:49:30 -07:00
Dustin Carlino
b54f26b631
Document the API so far
2020-08-18 13:20:37 -07:00
Dustin Carlino
9a350b7568
Regularly import Xi'an
2020-08-17 19:37:34 -07:00
Dustin Carlino
a6a454d326
Add a tool to import external traffic demand data. The format and way of
...
calling the tool (not in the importer?) are just experiments right now.
2020-08-17 12:32:09 -07:00
Dustin Carlino
a3ffc48fee
new release
2020-08-16 18:53:44 -07:00
Dustin Carlino
25ee39af89
Prepare to flag-guard an experiment to handle uber-turns differently
...
when allowing a car to start a turn. It causes
https://github.com/dabreegster/abstreet/pull/276#discussion_r470269394
and also the lakeslice scenario to gridlock (a regression that began a
few weeks ago). But keep the flag on for now, to keep the montlake
scenaro running at least.
https://dabreegster.github.io/abstreet/trafficsim/gridlock.html has
notes about the many different causes and in-progress fixes for
gridlock. This experiment hasn't been explained very well yet, but
roughly it treats a cluster of traffic signals as one, so that once a
vehicle gains access through the first light, they guarantee immediate
access through the entire sequence. This interacts with the "don't block
the box" behavior (don't start a turn if you might get stuck in the
intersection) strangely.
While attempting to get this rollback to work, I also had to manually
redraw the traffic lights for a few manually specified intersections.
They became out-of-date a few weeks ago when I cleaned up the OSM
geometry upstream and the referenced IDs changed, and I hadn't bothered
to re-time the signals. Luckily, with the new multi-signal editor,
redrawing the timing was much easier than originally!
Regenerated all data and lots of bus routes vanished. Plan to get back
to that project soon.
2020-08-14 11:33:25 -07:00
Dustin Carlino
c101666c7c
finishing the consolidation of docs
2020-08-10 14:56:39 -07:00
Dustin Carlino
0ac22208c7
moving a few more docs into the mdbook
2020-08-10 14:12:53 -07:00
Dustin Carlino
d44245211e
mdbook cant have blank section
2020-08-10 13:52:16 -07:00
Dustin Carlino
f9b41dda30
finally get github pages + mdbook to work, thanks to
...
https://github.com/rust-lang/mdBook/pull/1248#issuecomment-671528271 and
removing jekyll
2020-08-10 13:49:30 -07:00