Dustin Carlino
|
dacd423080
|
clippy pt4
|
2018-12-09 12:04:02 -08:00 |
|
Dustin Carlino
|
caae9bcc36
|
clippy pt3
|
2018-12-09 11:33:24 -08:00 |
|
Dustin Carlino
|
f48757c5e7
|
clippy pt2
|
2018-12-08 19:56:54 -08:00 |
|
Dustin Carlino
|
ab86835611
|
initially playing with clippy... pt1
|
2018-12-08 18:21:56 -08:00 |
|
Dustin Carlino
|
7363302d5d
|
one key to toggle lane types
|
2018-12-08 14:15:44 -08:00 |
|
Dustin Carlino
|
e71fa25229
|
moving sim_controls into SimMode, expressing it as a Paused/Running state
|
2018-12-08 13:51:31 -08:00 |
|
Dustin Carlino
|
8ee38d8dba
|
defining a mode to control the sim, with diff trip/all and score split
out. more soon.
|
2018-12-08 13:07:48 -08:00 |
|
Dustin Carlino
|
b92303ecab
|
avoiding overlapping keys in ViewMode
|
2018-12-08 12:19:16 -08:00 |
|
Dustin Carlino
|
c0317c0ce0
|
fix initial zoom when loading new PerMapUI. this broke a few commits ago when moving ToggleableLayers from per-UI to per-map plugins.
|
2018-12-07 14:17:40 -08:00 |
|
Dustin Carlino
|
cd4c39dec6
|
consolidating event and new_event
|
2018-12-07 14:06:47 -08:00 |
|
Dustin Carlino
|
dc0298a713
|
switch to new_color_for and new_draw everywhere (and rename them), cleaning up Ctx creations
|
2018-12-07 13:38:36 -08:00 |
|
Dustin Carlino
|
e604d3866c
|
rewrite turn cycler; it was confusing because it used to cycle through turns over time
|
2018-12-07 11:45:42 -08:00 |
|
Dustin Carlino
|
6a32166452
|
rewrite lots of stuff with NLL! \o/
|
2018-12-06 12:47:20 -08:00 |
|
Dustin Carlino
|
91b2b07fbd
|
remove more extern crate's; import macros directly
|
2018-12-06 11:22:12 -08:00 |
|
Dustin Carlino
|
375a923a9d
|
try removing most extern crate's
|
2018-12-06 11:00:13 -08:00 |
|
Dustin Carlino
|
f64f411093
|
upgrade all crates to 2018 in Cargo.toml. this requires switching to
crate:: paths everywhere. not yet fiddling with 'extern crate's
|
2018-12-06 10:57:31 -08:00 |
|
Dustin Carlino
|
6a0cd7f71e
|
rust 2018: run the new fmt, delete the unneeded script
|
2018-12-06 10:05:50 -08:00 |
|
Dustin Carlino
|
dc450a1959
|
moving search into view
|
2018-12-06 10:02:11 -08:00 |
|
Dustin Carlino
|
6a317aea33
|
moving warp into ViewMode
|
2018-12-06 09:47:51 -08:00 |
|
Dustin Carlino
|
63c80405f5
|
neighborhood summary part of ViewMode
|
2018-12-06 09:39:01 -08:00 |
|
Dustin Carlino
|
0b39be0d1a
|
moving each of the Modes into that directory's mod.rs
|
2018-12-06 09:34:10 -08:00 |
|
Dustin Carlino
|
5b6cdf24bd
|
making a View mode, with mostly ambient/stackable plugins
|
2018-12-05 21:13:36 -08:00 |
|
Dustin Carlino
|
7cac74457c
|
debug mode -- pt2, the stateful and ambient plugins
|
2018-12-05 19:17:29 -08:00 |
|
Dustin Carlino
|
d8492b7e17
|
bundling together a debug mode too -- pt1, the easy transient plugins
|
2018-12-05 18:22:18 -08:00 |
|
Dustin Carlino
|
96df555107
|
refactor edit plugins to not need an inactive state
|
2018-12-05 17:02:27 -08:00 |
|
Dustin Carlino
|
da46544e99
|
bundling exclusive editor-like plugins together in one meta plugin,
edit_mode
|
2018-12-05 16:28:15 -08:00 |
|
Dustin Carlino
|
7a10378b00
|
make UI handle loading new maps with no buildings to focus on
|
2018-12-05 11:47:58 -08:00 |
|
Dustin Carlino
|
636eb1fb1c
|
overriding crosswalk colors for stop signs
|
2018-12-05 10:57:12 -08:00 |
|
Dustin Carlino
|
6295d6b2e7
|
drawing turns at a stop sign
|
2018-12-05 10:34:08 -08:00 |
|
Dustin Carlino
|
545b96a74a
|
also suppress stop sign icon when relevant
|
2018-12-05 10:11:57 -08:00 |
|
Dustin Carlino
|
fa33c96201
|
revamp stop sign editor... space to toggle priorities, reset to default
|
2018-12-05 10:03:38 -08:00 |
|
Dustin Carlino
|
3198ade5d1
|
add a 4th turn priority... can completely ban turns. make pathfinding
pay attention to this.
|
2018-12-05 09:48:22 -08:00 |
|
Dustin Carlino
|
956ebc04e6
|
add a new cycle for ped scramble mode
|
2018-12-04 15:48:29 -08:00 |
|
Dustin Carlino
|
e640c6d46d
|
let user invoke presets
|
2018-12-04 15:29:42 -08:00 |
|
Dustin Carlino
|
06bd34b1f4
|
move cycles up/down, delete them, add them
|
2018-12-04 15:01:33 -08:00 |
|
Dustin Carlino
|
b8e33bb3a2
|
draw capped arrows after dashes more carefully for long last lines
|
2018-12-04 14:04:05 -08:00 |
|
Dustin Carlino
|
11f89c0ee5
|
one key to toggle through priorities
|
2018-12-04 13:52:53 -08:00 |
|
Dustin Carlino
|
843281ee62
|
restrict keys when hovering on turn icon vs not
|
2018-12-04 13:43:28 -08:00 |
|
Dustin Carlino
|
accfeaf457
|
only 3 colors for turn icons... match current state, not possible changes
|
2018-12-04 13:39:46 -08:00 |
|
Dustin Carlino
|
33f36954c8
|
adjust color of changed intersections and current turn icon full turn
|
2018-12-04 13:33:25 -08:00 |
|
Dustin Carlino
|
5ea6e0ea18
|
adjust possible controls
|
2018-12-04 13:06:16 -08:00 |
|
Dustin Carlino
|
1bb146fe23
|
couple crosswalk turn pairs together in a cycle
|
2018-12-04 12:52:59 -08:00 |
|
Dustin Carlino
|
4851761fc6
|
dont show shared sidewalk corner icons at all in the editor
|
2018-12-04 12:39:57 -08:00 |
|
Dustin Carlino
|
16a4607aca
|
show full turn of current selected icon
|
2018-12-04 12:34:06 -08:00 |
|
Dustin Carlino
|
1aabbb1e32
|
bringing back turn icons to the editor. needs more tweaks, but a start
|
2018-12-04 12:25:15 -08:00 |
|
Dustin Carlino
|
ac4c7a5b83
|
edit cycle time
|
2018-12-04 11:44:34 -08:00 |
|
Dustin Carlino
|
038cd385d7
|
show cycle duration in sidebar
|
2018-12-04 11:20:51 -08:00 |
|
Dustin Carlino
|
2c7abcbc3a
|
hiding crosswalks way more sanely
|
2018-12-04 11:08:18 -08:00 |
|
Dustin Carlino
|
d4006d3e93
|
stop drawing traffic signal box when some plugins are active
|
2018-12-04 10:26:35 -08:00 |
|
Dustin Carlino
|
43fa67177d
|
plumbing generic things in ezgui runner
|
2018-12-04 10:20:08 -08:00 |
|
Dustin Carlino
|
b828d39a43
|
show current cycle in editor sidebar
|
2018-12-04 08:51:00 -08:00 |
|
Dustin Carlino
|
3155bcbaf1
|
drawing a box to show time left in current cycle
|
2018-12-04 08:33:24 -08:00 |
|
Dustin Carlino
|
1567664b43
|
dont draw signal box when selecting
|
2018-12-03 21:04:37 -08:00 |
|
Dustin Carlino
|
acdecbc2c6
|
hiding crosswalks in slightly less hacky way
|
2018-12-03 17:42:36 -08:00 |
|
Dustin Carlino
|
67ce42e2f6
|
give peds precedence over cars, and subsequently simplify the wacky crosswalk coloring
|
2018-12-03 17:34:56 -08:00 |
|
Dustin Carlino
|
ac1e12b43a
|
draw ALL cycles in a sidebar, to summarize. needs tuning, but looks
initially good
|
2018-12-03 17:09:56 -08:00 |
|
Dustin Carlino
|
dbc8f40fa8
|
traffic signal editor: draw full turns of current cycle and stop showing
turn icons completely
|
2018-12-03 16:04:57 -08:00 |
|
Dustin Carlino
|
4cefe027bd
|
revamp lane marking scheme; just make it a closure. this lets us use
nice dashed polyline for driving lane markings and turn markings.
|
2018-12-03 14:33:37 -08:00 |
|
Dustin Carlino
|
7c53e9bb4a
|
dashed polylines for yielding turns
|
2018-12-03 13:45:06 -08:00 |
|
Dustin Carlino
|
a790fec6a1
|
highlight/dim crosswalks in turn cycler
|
2018-12-03 13:07:29 -08:00 |
|
Dustin Carlino
|
96ca681979
|
speeding up time travel plugin by pulling all agents, not iterating map elements
|
2018-12-03 11:45:21 -08:00 |
|
Dustin Carlino
|
ac00e24dda
|
woops, agent_to_trip isn't defined for parked cars
|
2018-12-03 10:57:00 -08:00 |
|
Dustin Carlino
|
08cc4124fb
|
adjusting crosswalk geometry, so peds actually walk into the intersection a bit
|
2018-12-03 10:51:02 -08:00 |
|
Dustin Carlino
|
f36b967dee
|
drawing yield turns better in turn cycler
|
2018-12-03 10:37:14 -08:00 |
|
Dustin Carlino
|
c198a49ad3
|
changing real turn geometry to be a polyline
|
2018-12-03 09:25:47 -08:00 |
|
Dustin Carlino
|
76e02897d0
|
experimenting with bezier curves for left and right turns. they look
great!
|
2018-12-02 20:06:29 -08:00 |
|
Dustin Carlino
|
514abb2bf1
|
tweaking UI for showing current traffic signal
|
2018-12-01 21:53:12 -08:00 |
|
Dustin Carlino
|
987b2a4884
|
merge TurnAngle and TurnType
|
2018-12-01 16:02:11 -08:00 |
|
Dustin Carlino
|
1542e3118e
|
refactoring turn angle stuff
|
2018-12-01 14:51:10 -08:00 |
|
Dustin Carlino
|
503c3c2ca9
|
warping to turns, with an easily typeable name
|
2018-12-01 14:29:20 -08:00 |
|
Dustin Carlino
|
4d7c1203a6
|
the great control layer merge
|
2018-11-30 13:52:50 -08:00 |
|
Dustin Carlino
|
609c731fa0
|
implement yielding in traffic signals. pretty untested.
|
2018-11-30 12:28:32 -08:00 |
|
Dustin Carlino
|
f6562e97ea
|
moving around code in control layer a bit
|
2018-11-30 11:13:02 -08:00 |
|
Dustin Carlino
|
3ac39156eb
|
experimenting with different depiction of current traffic signal
|
2018-11-30 10:58:41 -08:00 |
|
Dustin Carlino
|
ecc5a6efb1
|
make some percentage of walking trips use transit, if it's reasonable.
haven't observed it working yet.
|
2018-11-29 14:53:11 -08:00 |
|
Dustin Carlino
|
34f8e93bad
|
dont need pt_and_angle, just pt of Positions
|
2018-11-28 13:14:49 -08:00 |
|
Dustin Carlino
|
e4e1eb139e
|
automatically merge all short roads
|
2018-11-28 12:06:09 -08:00 |
|
Dustin Carlino
|
5c3ca41722
|
associate buses with trips, so some UI plugins can handle them
|
2018-11-27 14:33:35 -08:00 |
|
Dustin Carlino
|
53330e846c
|
drawing current traffic signal turns as nicer arrows on the lanes
|
2018-11-27 11:04:26 -08:00 |
|
Dustin Carlino
|
c2783ab56e
|
making a new Position tuple and equiv_dist_along
|
2018-11-27 09:55:37 -08:00 |
|
Dustin Carlino
|
d0beb7f41e
|
simplify get_draw_blah API by just having one call for traversable. simplify inner walking state
|
2018-11-26 15:53:04 -08:00 |
|
Dustin Carlino
|
cd8d9adec4
|
radical speedup and simplification to driving state: only store SimQueues for active lanes/turns
|
2018-11-26 15:40:22 -08:00 |
|
Dustin Carlino
|
118d87fc66
|
get a transit test passing again, and make debugging bus stops in the UI a little easier
|
2018-11-26 13:56:35 -08:00 |
|
Dustin Carlino
|
5fbd5e1546
|
when editor_state isn't applicable, focus on bldg 0 instead of centering view
|
2018-11-26 11:43:53 -08:00 |
|
Dustin Carlino
|
c46489ca83
|
naming synthetic buildings
|
2018-11-26 09:03:38 -08:00 |
|
Dustin Carlino
|
1ce55ada04
|
make time travel plugin handle loading savestates
|
2018-11-23 10:48:29 -08:00 |
|
Dustin Carlino
|
e9ed1b0c86
|
make time travel plugin handle savestates
|
2018-11-22 17:44:51 -08:00 |
|
Dustin Carlino
|
1fd6c17ff5
|
get rid of the output param primary_plugins hack
|
2018-11-22 15:57:37 -08:00 |
|
Dustin Carlino
|
541a7bc22f
|
make simctrl a normal plugin, finally
|
2018-11-22 15:48:24 -08:00 |
|
Dustin Carlino
|
c808d60fd5
|
woops, can't just scrape active agents
|
2018-11-22 14:57:57 -08:00 |
|
Dustin Carlino
|
b2c976b439
|
make Sim or TimeTravel be able to serve up Draw agents
|
2018-11-22 14:46:28 -08:00 |
|
Dustin Carlino
|
ced04798b4
|
basic controls for time travel, showing state in OSD
|
2018-11-22 11:53:35 -08:00 |
|
Dustin Carlino
|
29e1f3f6c0
|
starting a plugin to scrape agents...
|
2018-11-22 11:38:00 -08:00 |
|
Dustin Carlino
|
9e91332b58
|
matching extra shapes with a particular side of the road
|
2018-11-21 16:02:08 -08:00 |
|
Dustin Carlino
|
bd67d88bab
|
adjust the blockface<->road matching
|
2018-11-21 15:39:49 -08:00 |
|
Dustin Carlino
|
20b79038f4
|
dont clone bounds by default
|
2018-11-21 14:55:26 -08:00 |
|
Dustin Carlino
|
2322b1f83e
|
show road matching extra shape
|
2018-11-21 14:44:26 -08:00 |
|
Dustin Carlino
|
48709b60a0
|
making a general helper for finding closest stuff... using it to match extra shapes to road center lines
|
2018-11-21 14:32:15 -08:00 |
|
Dustin Carlino
|
117adb7f1a
|
consolidating all of the kml parsing code
|
2018-11-21 13:20:41 -08:00 |
|
Dustin Carlino
|
7278719a04
|
consolidating all of the road query methods
|
2018-11-20 13:36:10 -08:00 |
|
Dustin Carlino
|
7705289a62
|
specialize tooltip_lines to one plugin. solves the problem of not being able to look up objects in DrawMap
|
2018-11-20 11:32:03 -08:00 |
|
Dustin Carlino
|
99d0d27837
|
adjust debug logs
|
2018-11-18 15:03:02 -08:00 |
|
Dustin Carlino
|
6dbdfcb18b
|
proper enum for vehicle type
|
2018-11-17 17:38:10 -08:00 |
|
Dustin Carlino
|
d7efdfc86d
|
rendering bikes differently
|
2018-11-16 14:51:41 -08:00 |
|
Dustin Carlino
|
1e43f33939
|
render peds preparing bikes
|
2018-11-16 14:28:36 -08:00 |
|
Dustin Carlino
|
a2a6b16fdc
|
plumbing biking option from scenario all the way down... incomplete
|
2018-11-16 11:31:27 -08:00 |
|
Dustin Carlino
|
7937586e52
|
make it easy to prefill a textbox from wizard
|
2018-11-14 11:56:45 -08:00 |
|
Dustin Carlino
|
7b6f1c4624
|
refactoring a proper way to draw/use rectangles
|
2018-11-14 09:57:58 -08:00 |
|
Dustin Carlino
|
88334d50ca
|
WIP rewriting pathfinding natively in terms of PathSteps
|
2018-11-13 14:06:52 -08:00 |
|
Dustin Carlino
|
af7785d6a3
|
always send along CarState in DrawCarInput, removing an annoying query method
|
2018-11-13 10:57:28 -08:00 |
|
Dustin Carlino
|
b2e3f25393
|
moving RNG helpers from sim to abstutil
|
2018-11-13 10:50:54 -08:00 |
|
Dustin Carlino
|
462539b558
|
spawning cars at a border
|
2018-11-13 08:50:12 -08:00 |
|
Dustin Carlino
|
257d051585
|
update walking model to handle ending at a border
|
2018-11-12 16:45:33 -08:00 |
|
Dustin Carlino
|
70c1fae4f1
|
encoding ability to go to a border node in scenarios
|
2018-11-12 16:02:14 -08:00 |
|
Dustin Carlino
|
0c95122576
|
encoding spawn-peds-at-border in scenario layer
|
2018-11-12 14:11:50 -08:00 |
|
Dustin Carlino
|
f577cc9948
|
consolidate the panic/unwind code
|
2018-11-12 11:20:26 -08:00 |
|
Dustin Carlino
|
f1d82a4c97
|
make the warp plugin animate the panning
|
2018-11-12 11:02:51 -08:00 |
|
Dustin Carlino
|
474d92f5db
|
modeling border nodes in map, control, sim, editor layers
|
2018-11-11 14:49:27 -08:00 |
|
Dustin Carlino
|
f243048c45
|
drawing border nodes differently
|
2018-11-10 16:57:01 -08:00 |
|
Dustin Carlino
|
7ddbd753f4
|
storing neighborhoods as GPS
|
2018-11-09 14:12:20 -08:00 |
|
Dustin Carlino
|
58dcdb4985
|
detangle the two tooltip_lines variants; it makes more sense in each renderable
|
2018-11-07 14:44:15 -08:00 |
|
Dustin Carlino
|
9ba9acb3d2
|
modeling bus lanes
|
2018-11-07 13:50:22 -08:00 |
|
Dustin Carlino
|
6e786d5630
|
refactoring intersection->roads query
|
2018-11-07 11:55:40 -08:00 |
|
Dustin Carlino
|
0008712c9a
|
revamping driving turns to handle multi-lane cases better. seems to work
well!
|
2018-11-07 10:53:48 -08:00 |
|
Dustin Carlino
|
9c75514925
|
draw turn restrictions when relevant. needs tuning later
|
2018-11-06 14:47:39 -08:00 |
|
Dustin Carlino
|
c6cd36071c
|
make the large maps still work: fixes to bus route verification and
degenerate stop sign handling
|
2018-11-06 12:39:27 -08:00 |
|
Dustin Carlino
|
f341f67cc5
|
finally construct the mirror turns for sidewalks, and avoid double-rendering
|
2018-11-06 09:34:01 -08:00 |
|
Dustin Carlino
|
02f24bfe15
|
removing annoying duplicated fields in Turn
|
2018-11-06 09:29:50 -08:00 |
|
Dustin Carlino
|
d66e3e8abc
|
rendering sidewalk corners
|
2018-11-06 09:14:52 -08:00 |
|
Dustin Carlino
|
dc70d4eb9a
|
was overthinking turn-making... going back to something simple
|
2018-11-06 08:59:27 -08:00 |
|
Dustin Carlino
|
74b5e2e31e
|
changing drawn crosswalks to be based off of the turns
|
2018-11-05 21:33:51 -08:00 |
|
Dustin Carlino
|
4a9eb6d224
|
rewriting sidewalk turn creation based on angles. not correct yet, but
better.
|
2018-11-05 21:06:28 -08:00 |
|
Dustin Carlino
|
9f0d3b610a
|
introducing TurnType
|
2018-11-05 18:42:33 -08:00 |
|
Dustin Carlino
|
03909cc04f
|
make turn cycler able to draw all turns from a lane, even when the plugin isnt really 'active'
|
2018-11-05 17:52:35 -08:00 |
|
Dustin Carlino
|
bd96b4ff5f
|
storing src/dst intersection with Road directly
|
2018-11-05 17:39:23 -08:00 |
|
Dustin Carlino
|
d69804e485
|
fixing chokepoints plugin by looking at paths
|
2018-11-04 15:25:48 -08:00 |
|
Dustin Carlino
|
688a94aca9
|
get things to compile, try them out...
|
2018-11-04 08:29:31 -08:00 |
|
Dustin Carlino
|
d4dc5fc658
|
percolating changes to sim layer slowly...
|
2018-11-03 20:46:41 -07:00 |
|
Dustin Carlino
|
fee90c37bf
|
show all routes at once, to stress-test the pedestrian edge cases that crash
|
2018-11-03 11:32:09 -07:00 |
|
Dustin Carlino
|
82beccf86c
|
making all plugins that compute stuff for Sim cache per time
|
2018-11-02 13:31:04 -07:00 |
|
Dustin Carlino
|
af25404777
|
fix silly problems with heatmap, now it works well enough
|
2018-11-02 12:32:12 -07:00 |
|
Dustin Carlino
|
2dd95723e6
|
cleanup: all plugins constructed with new()
|
2018-11-01 17:10:13 -07:00 |
|
Dustin Carlino
|
6ecfac0bd3
|
precomputing canonical pt per trip, since so much stuff kinda cares about it
|
2018-11-01 17:05:15 -07:00 |
|
Dustin Carlino
|
db34ddb2b7
|
changing the activity plugin to show a heatmap of what's currently in view
|
2018-11-01 16:07:48 -07:00 |
|
Dustin Carlino
|
a610575701
|
changing ezgui API to return Bounds, not Rect
|
2018-11-01 15:31:06 -07:00 |
|
Dustin Carlino
|
b593d3f5cf
|
WIP plugin to highlight lanes with movement
|
2018-11-01 14:42:43 -07:00 |
|
Dustin Carlino
|
294e6683d9
|
dealing with panics from anywhere in the UI event handling
|
2018-11-01 14:10:08 -07:00 |
|
Dustin Carlino
|
c255f3aa28
|
fix crosswalk markings, which drifted out of the intersection polygon
|
2018-10-31 15:23:07 -07:00 |
|
Dustin Carlino
|
01b230b47f
|
fix location of stop signs / signals, based on bad center
|
2018-10-31 12:29:31 -07:00 |
|
Dustin Carlino
|
dc12555b03
|
simplified the intersection polygon algorithm to just look at angle-adjacent pairs of lines. same results, simpler code. almost ready to fix the triangle intersections.
|
2018-10-31 10:55:59 -07:00 |
|
Dustin Carlino
|
be7bd2ede5
|
calculating a much simpler, more robust intersection polygon!!! \o/
|
2018-10-31 09:38:34 -07:00 |
|
Dustin Carlino
|
27406a5a5c
|
rotating stop signs (really an excuse to start using the geo crate in geom...)
|
2018-10-30 16:04:46 -07:00 |
|
Dustin Carlino
|
8a1ee5c32b
|
slight improvements to Timer API and output
|
2018-10-30 15:17:04 -07:00 |
|
Dustin Carlino
|
7bb1bab755
|
pulling sidewalk width from KML
|
2018-10-30 14:15:57 -07:00 |
|
Dustin Carlino
|
de8f6760b6
|
improving debugging of extra shapes
|
2018-10-30 13:24:00 -07:00 |
|
Dustin Carlino
|
a6bc3ed2a0
|
progress for KML parsing
|
2018-10-30 13:18:24 -07:00 |
|
Dustin Carlino
|
bb9c98b54e
|
splitting into two Bounds types
|
2018-10-29 14:16:30 -07:00 |
|
Dustin Carlino
|
cc9f0289ab
|
exporting polygons in the osmosis format... wait, may need to change the
coordinate system first. let's first refactor bounds to be more careful
about existing code.
|
2018-10-29 12:29:11 -07:00 |
|
Dustin Carlino
|
949529b780
|
adding some initial neighborhood summary for an a/b test
|
2018-10-29 11:24:01 -07:00 |
|
Dustin Carlino
|
0eacc4c040
|
track un-labeled time per span
|
2018-10-28 19:37:27 -07:00 |
|
Dustin Carlino
|
3a62ed8695
|
refactor get_bbox
|
2018-10-28 18:43:36 -07:00 |
|
Dustin Carlino
|
a074ab1890
|
speeding up neighborhood summary with quadtree
|
2018-10-28 18:34:29 -07:00 |
|
Dustin Carlino
|
f011f8f56d
|
making hierarchial progress timer to replace flamegraphs. using in many,
but not all, places
|
2018-10-28 16:40:37 -07:00 |
|
Dustin Carlino
|
51fa5a0aba
|
adding progress to UI stuff and speeding up steepness viz initialization
very slightly
|
2018-10-28 15:18:08 -07:00 |
|
Dustin Carlino
|
15da2fe9cd
|
using quadtrees to MASSIVELY speed up sidewalk matching
|
2018-10-28 13:59:54 -07:00 |
|
Dustin Carlino
|
8c5716d7c4
|
trim back bldg front path lines to not overlap sidewalk
|
2018-10-26 15:36:20 -07:00 |
|
Dustin Carlino
|
37006369af
|
fix other crates that have Color constants
|
2018-10-26 15:00:04 -07:00 |
|
Dustin Carlino
|
19ba0b02c0
|
use OSM road type colors
|
2018-10-26 13:13:48 -07:00 |
|
Dustin Carlino
|
e7e3ceddb2
|
not caching Colors in renderables, which cleans up DrawMap construction
|
2018-10-26 10:39:23 -07:00 |
|
Dustin Carlino
|
898e036c7e
|
the great color scheme refactor!
|
2018-10-24 19:18:37 -07:00 |
|
Dustin Carlino
|
86d578f4f8
|
oops, nondeterminism in map model routes
|
2018-10-24 14:28:56 -07:00 |
|
Dustin Carlino
|
740597b64f
|
even more convenient debugging, by marking what agent is being processed everywhere
|
2018-10-24 13:33:07 -07:00 |
|
Dustin Carlino
|
580ab797de
|
catching simulation panics in the UI, to print some debug info before dying
|
2018-10-24 13:19:13 -07:00 |
|
Dustin Carlino
|
da786f9348
|
gather initial summary text for neighborhoods
|
2018-10-23 16:18:33 -07:00 |
|
Dustin Carlino
|
3d40f7c91b
|
starting a plugin to show all neighborhoods with a very basic text summary
|
2018-10-23 13:54:17 -07:00 |
|
Dustin Carlino
|
d4a2ecb693
|
show both future routes for diffing single agent
|
2018-10-23 10:17:43 -07:00 |
|
Dustin Carlino
|
dd0578d504
|
dont cancel diff worlds when an agent is mode-switching
|
2018-10-23 10:04:11 -07:00 |
|
Dustin Carlino
|
9883da6fa8
|
fix bugs with follow plugin at the end of the trip
|
2018-10-22 16:32:58 -07:00 |
|
Dustin Carlino
|
9660794467
|
show route by trip, not agent
|
2018-10-22 14:39:25 -07:00 |
|
Dustin Carlino
|
afa52e4bad
|
follow a trip, not a ped/car, so mode changes matter less
|
2018-10-22 14:30:51 -07:00 |
|
Dustin Carlino
|
9c1ae28bf8
|
ped trace_routes were wrong for contraflow steps
|
2018-10-22 13:16:30 -07:00 |
|
Dustin Carlino
|
a1ac8cf7dd
|
plugin to show diff for all agents
|
2018-10-22 11:22:16 -07:00 |
|
Dustin Carlino
|
144fa638d0
|
reduce import list in ui
|
2018-10-22 10:57:37 -07:00 |
|
Dustin Carlino
|
02477d6717
|
moving plugins to a generic list
|
2018-10-22 10:45:14 -07:00 |
|
Dustin Carlino
|
feefa8dc34
|
move draw to the Plugin trait
|
2018-10-22 09:56:17 -07:00 |
|
Dustin Carlino
|
ce293cdd38
|
reorder the plugins to be grouped simply
|
2018-10-22 09:41:23 -07:00 |
|
Dustin Carlino
|
0b07ef94d9
|
use vectors instead of match, and have a constant for number of plugins.
still kind of repetitive, but better.
|
2018-10-22 09:19:42 -07:00 |
|
Dustin Carlino
|
f278019560
|
cleanup: rename the trait
|
2018-10-22 09:06:02 -07:00 |
|
Dustin Carlino
|
b57a4335e0
|
porting the last two plugins to generic event()
|
2018-10-22 09:04:08 -07:00 |
|
Dustin Carlino
|
52535771e3
|
making road editor stateless; map should hold the changed edits
|
2018-10-22 08:39:32 -07:00 |
|
Dustin Carlino
|
2a00c9b25a
|
converting all the rest to generic event()...
|
2018-10-21 21:40:08 -07:00 |
|
Dustin Carlino
|
21e2f1ce66
|
proof-of-concept make event() generic for two plugins
|
2018-10-21 20:25:24 -07:00 |
|
Dustin Carlino
|
47d385e40c
|
splitting per-map plugins out too!
|
2018-10-21 20:15:38 -07:00 |
|
Dustin Carlino
|
e987282e3c
|
removing UIWrapper
|
2018-10-21 19:28:17 -07:00 |
|
Dustin Carlino
|
523a6358fa
|
moving list of plugin callbacks to UI directly
|
2018-10-21 19:23:27 -07:00 |
|
Dustin Carlino
|
1151ef81f1
|
making a more specific PluginCtx
|
2018-10-21 19:19:30 -07:00 |
|
Dustin Carlino
|
fd2b77f958
|
splitting UI plugins into another struct
|
2018-10-21 19:09:22 -07:00 |
|
Dustin Carlino
|
def2f60a92
|
refactor log adaptor stuff
|
2018-10-21 11:32:17 -07:00 |
|
Dustin Carlino
|
66bbdc0362
|
script to save all the maps with edits. no loading yet
|
2018-10-20 09:02:44 -07:00 |
|
Dustin Carlino
|
d6253a1721
|
dont draw stop sign on degenerate intersections
|
2018-10-18 15:28:34 -07:00 |
|
Dustin Carlino
|
1509a674b1
|
WIP some fixes to OSM->lane types
- roundabouts have less stuff
- simplify the code
- motorways and motorway links are just driving
- sidewalks on one-ways
|
2018-10-18 12:05:11 -07:00 |
|
Dustin Carlino
|
35566543f1
|
briefly play around with cpuprofiler and gperftools
|
2018-10-18 10:54:04 -07:00 |
|
Dustin Carlino
|
bb21c45394
|
weighted choice for how many cars per building
|
2018-10-17 16:22:33 -07:00 |
|
Dustin Carlino
|
3968a78166
|
only allow interactive spawning at the beginning
|
2018-10-17 15:01:36 -07:00 |
|
Dustin Carlino
|
d02c5004f9
|
clean up Pt2D::from_gps API
|
2018-10-17 13:14:10 -07:00 |
|
Dustin Carlino
|
b25046bd67
|
removing old, weird controls for interactively spawning stuff in the UI
|
2018-10-17 13:06:40 -07:00 |
|
Dustin Carlino
|
fade0f8883
|
UI plugin to show parked car / building associations
|
2018-10-17 12:29:46 -07:00 |
|
Dustin Carlino
|
98914ce208
|
peds only use the car associated with their building
|
2018-10-17 10:34:02 -07:00 |
|
Dustin Carlino
|
0d33a25d44
|
calm down DiffWorlds, not every agent has a trip -- buses and parked cars, namely
|
2018-10-17 10:10:22 -07:00 |
|
Dustin Carlino
|
299c7bdb2f
|
seed parked cars per building, not per spot
|
2018-10-17 10:01:33 -07:00 |
|
Dustin Carlino
|
7919b0bd8d
|
associating cars with an owner
|
2018-10-16 17:28:03 -07:00 |
|
Dustin Carlino
|
2c110a58f9
|
starting a very basic plugin to show differences between trips in parallel worlds
|
2018-10-16 14:48:41 -07:00 |
|
Dustin Carlino
|
41817d3e91
|
oops, nonsense option to start moving cars
|
2018-10-16 12:15:02 -07:00 |
|
Dustin Carlino
|
ebebce179a
|
redo mouseover when plugins suddenly change the screen
|
2018-10-16 12:11:05 -07:00 |
|
Dustin Carlino
|
77786c9483
|
forking RNGs to keep SeedParking consistent
|
2018-10-16 11:39:16 -07:00 |
|
Dustin Carlino
|
80f6eb95b4
|
brainstorming edit-invariant trips. initial work to reference TripIDs,
which are independent of mode.
|
2018-10-14 14:01:03 -07:00 |
|
Dustin Carlino
|
053b426e58
|
plumb rng seed from CLI to a/b test
|
2018-10-13 17:31:30 -07:00 |
|
Dustin Carlino
|
90af8a84c6
|
woops, car pathfinding shouldnt use bike lanes. and A/B test manager
should set json filename
|
2018-10-13 16:34:02 -07:00 |
|
Dustin Carlino
|
25a1beba4e
|
generalize traces a bit to handle 0-length turns properly
|
2018-10-13 16:05:52 -07:00 |
|
Dustin Carlino
|
f7f9b5ab70
|
plugin to find and show chokepoints
|
2018-10-13 15:24:14 -07:00 |
|
Dustin Carlino
|
99559fa578
|
also retain the logical pieces of a Trace, so we can next find chokepoints
|
2018-10-13 11:27:22 -07:00 |
|
Dustin Carlino
|
6dad7155aa
|
swap sims
|
2018-10-09 21:44:26 -07:00 |
|
Dustin Carlino
|
4672994777
|
fixed one problem with ped trace_route... walking model is so complicated. ><
|
2018-10-09 17:43:22 -07:00 |
|
Dustin Carlino
|
dcbf373896
|
constructing traces way more directly. still broken for peds. :(
|
2018-10-09 16:14:48 -07:00 |
|
Dustin Carlino
|
d0f88f8d52
|
use new Trace for show_route plugin. handle 0-length turns
|
2018-10-09 14:36:53 -07:00 |
|
Dustin Carlino
|
2716a2272b
|
making trace handle lanes and turns
|
2018-10-09 13:43:59 -07:00 |
|
Dustin Carlino
|
d7a36889b2
|
some of the pieces to render smart arrows in front of agents
|
2018-10-09 12:56:58 -07:00 |
|
Dustin Carlino
|
df927c5829
|
make sim ctrl plugin advance dual sims and print some OSD and side panel
stuff appropriately
|
2018-10-08 17:03:36 -07:00 |
|
Dustin Carlino
|
b684505ca6
|
moving toggleable layers into a real plugin
|
2018-10-08 16:36:25 -07:00 |
|
Dustin Carlino
|
7ca7f08ef7
|
refactoring focus pt per object
|
2018-10-08 16:20:45 -07:00 |
|
Dustin Carlino
|
fcf0366e90
|
er, stripping .json vs not...
|
2018-10-08 15:14:17 -07:00 |
|
Dustin Carlino
|
307318a62e
|
finally making the ab test manager launch two sims now
|
2018-10-08 15:08:01 -07:00 |
|
Dustin Carlino
|
95c79f9f7c
|
current sim flags owned in per-map state, not one random plugin
|
2018-10-08 14:54:36 -07:00 |
|
Dustin Carlino
|
dca91bcf43
|
making edits manager create the new per-map state itself
|
2018-10-08 14:50:05 -07:00 |
|
Dustin Carlino
|
e0eece7a55
|
loading new map edits by the simpler state replacement
|
2018-10-08 14:14:50 -07:00 |
|
Dustin Carlino
|
2aa47bbd51
|
grouping UI state that's bound to a certain map+edits
|
2018-10-08 14:08:20 -07:00 |
|
Dustin Carlino
|
23fc634eb4
|
refactoring wizards and loading/listing stuff
|
2018-10-08 12:18:13 -07:00 |
|
Dustin Carlino
|
f1503c2de1
|
rewriting neighborhood plugin to use wizard
|
2018-10-08 11:16:18 -07:00 |
|
Dustin Carlino
|
2fffbb53f9
|
refactoring logic to save stuff
|
2018-10-08 10:21:13 -07:00 |
|
Dustin Carlino
|
fcfef89760
|
intermission: handling empty directory listings, menus
|
2018-10-08 09:45:21 -07:00 |
|
Dustin Carlino
|
7ef462d94d
|
defining a plugin to manage A/B tests
|
2018-10-08 09:00:55 -07:00 |
|
Dustin Carlino
|
daac00155e
|
start animating the lines
|
2018-10-06 14:30:57 -07:00 |
|
Dustin Carlino
|
661d784b6e
|
adjusting logging to not include debug by default
|
2018-10-06 12:21:12 -07:00 |
|
Dustin Carlino
|
7b3069a1a1
|
clean up ezgui draw() API and hide window size inside ezgui entirely
|
2018-10-06 11:52:08 -07:00 |
|
Dustin Carlino
|
8c7e89702f
|
fix turn cycler plugin overriding others
|
2018-10-06 11:30:50 -07:00 |
|
Dustin Carlino
|
0048f90734
|
removing use_event_directly
|
2018-10-06 11:15:37 -07:00 |
|
Dustin Carlino
|
94ac54d7e8
|
stop using Color and Vec2d types from piston, to slowly move away from dependence on piston
|
2018-10-05 14:58:48 -07:00 |
|
Dustin Carlino
|
30b0ace7bb
|
woops, major performance bug in map edit manager
|
2018-10-04 11:23:21 -07:00 |
|
Dustin Carlino
|
2c8aa62f97
|
describe map edits in GUI
|
2018-10-04 11:16:00 -07:00 |
|
Dustin Carlino
|
bed2c604f3
|
directly save control intersection policies, dont need this intermedite savestate struct
|
2018-10-04 11:05:53 -07:00 |
|