Dustin Carlino
|
375f47e637
|
traffic sim article intro and part of discrete sim section
|
2019-03-12 12:56:51 -07:00 |
|
Dustin Carlino
|
caded99919
|
basic linux+windows release script
|
2019-03-12 08:47:18 -07:00 |
|
Dustin Carlino
|
899718bf48
|
clear to end of line properly in Timer, using termion
|
2019-03-11 14:34:38 -07:00 |
|
Dustin Carlino
|
92bf86454c
|
cleaning up TODO docs
|
2019-03-11 13:46:58 -07:00 |
|
Dustin Carlino
|
757831a18b
|
WIP starting a big article on traffic modeling
|
2019-03-11 11:35:55 -07:00 |
|
Dustin Carlino
|
214e461601
|
--enable_profiler in headless too
|
2019-03-02 09:24:11 -08:00 |
|
Dustin Carlino
|
aea11b72e3
|
putting together a spawn layer. not using it yet.
|
2019-02-24 11:15:49 -08:00 |
|
Dustin Carlino
|
0c9b173683
|
use scheduler for spawning (and retrying) cars
|
2019-02-23 15:46:28 -08:00 |
|
Dustin Carlino
|
5e9d4ca7f7
|
populate more turns so that lane-changing effectively happens when
turning, but keep the lane->lane semantics
|
2019-02-20 17:03:26 -08:00 |
|
Dustin Carlino
|
86cb58b5f1
|
first make a DirectedRoad ID, finally
|
2019-02-20 16:23:24 -08:00 |
|
Dustin Carlino
|
09af9e6cda
|
removing the log crate completely. remove the DisplayLogs plugin, since
it's unused and unclear how it should work going forwards
|
2019-02-20 11:56:54 -08:00 |
|
Dustin Carlino
|
46fb2c94b5
|
implement DrawAgents
|
2019-02-20 08:11:03 -08:00 |
|
Dustin Carlino
|
7a8088f772
|
actually, trying a new idea for a DES model
|
2019-02-19 14:34:39 -08:00 |
|
Dustin Carlino
|
af59307c71
|
adjust the debug_areas stuff when unzoomed
|
2019-02-18 19:06:41 -08:00 |
|
Dustin Carlino
|
914f5a6642
|
check for cars too close during the stress test
|
2019-02-18 14:38:57 -08:00 |
|
Dustin Carlino
|
a52bea9835
|
some steps to closing off incomplete areas better... mostly stuff to
quickly iterate on this problem later
|
2019-02-15 09:03:02 -08:00 |
|
Dustin Carlino
|
06c8ed72a9
|
flag-based profiling of GUI
|
2019-02-14 13:16:43 -08:00 |
|
Dustin Carlino
|
8693bbc1e3
|
import residential building dataset
|
2019-02-10 19:24:34 -08:00 |
|
Dustin Carlino
|
7ea56ad6ca
|
disabled thing to reduce degenerate intersection length
|
2019-02-08 20:18:49 -08:00 |
|
Dustin Carlino
|
3bf4807364
|
thoughts on a different simulation model and a plugin skeleton to play
with it
|
2019-02-06 19:14:19 -08:00 |
|
Dustin Carlino
|
260a2bdc3d
|
forming the intersection polygon by the expected adjacency order, not by blindly sorting points by angle from a center. seems to fix some problems in merged mode!
|
2019-02-06 11:49:45 -08:00 |
|
Dustin Carlino
|
bfd0465a3d
|
track the intent of chosen acceleration, to see why overshooting is happening
|
2019-02-03 09:41:29 -08:00 |
|
Dustin Carlino
|
fb2bb08f66
|
be able to hide stuff in InitialMap debugger
|
2019-02-02 17:51:49 -08:00 |
|
Dustin Carlino
|
899d876968
|
only reset camera for some initial maps
|
2019-02-02 16:40:12 -08:00 |
|
Dustin Carlino
|
2d7f64e69b
|
make halloween use viewer, just for roads
|
2019-02-01 13:23:53 -08:00 |
|
Dustin Carlino
|
1970b7066e
|
extract generic viewer stuff into its own crate, separate from the InitialMap stuff
|
2019-02-01 12:51:50 -08:00 |
|
Dustin Carlino
|
f5f8a57640
|
automatically focus on changed intersection in InitialMap viewer
|
2019-02-01 11:50:54 -08:00 |
|
Dustin Carlino
|
0a79b354b2
|
remove ability to create Map from InitialMap, now that we have a separate debugger
|
2019-02-01 11:09:22 -08:00 |
|
Dustin Carlino
|
097d1591e1
|
load previous/next initial map. refactor this functionality for sim
savestates
|
2019-02-01 11:03:57 -08:00 |
|
Dustin Carlino
|
0346166304
|
starting a generic viewer that works with InitialMap
|
2019-01-31 16:33:43 -08:00 |
|
Dustin Carlino
|
dfe50dcee4
|
reasonable support for roundabouts... collapse it to a single
intersection, which usually gets treated like a stop sign, and has
reasonable geometry
|
2019-01-16 15:05:44 -08:00 |
|
Dustin Carlino
|
b94e0db5ec
|
fix turn cycler panic... yet again
|
2019-01-11 12:24:56 -08:00 |
|
Dustin Carlino
|
0bcda36380
|
teardown the wretched UIState trait
|
2018-12-24 19:13:36 -08:00 |
|
Dustin Carlino
|
8708bc750b
|
now we can make PluginCtx just once
|
2018-12-24 18:54:46 -08:00 |
|
Dustin Carlino
|
8913ea44e3
|
brief interruption to plumb primary_plugins to plugins that need it in a different way outside the ctx, to avoid annoying borrow issues
|
2018-12-24 18:51:51 -08:00 |
|
Dustin Carlino
|
7aed6fa690
|
disable debug controls in tutorial mode... except for the top menu fixes
|
2018-12-24 18:26:11 -08:00 |
|
Dustin Carlino
|
7766c80f25
|
cam_zoom doesnt need to be repeated in RenderOptions.
|
2018-12-24 18:16:15 -08:00 |
|
Dustin Carlino
|
d56f2fad1c
|
reorg time travel plugin. at last, teardown the old active_plugin cruft.
|
2018-12-24 18:08:52 -08:00 |
|
Dustin Carlino
|
c83c4c4899
|
collapse ViewMode, moving ambient plugins out
|
2018-12-24 17:57:47 -08:00 |
|
Dustin Carlino
|
fc15b28826
|
lift the special case search plugin out of simmode.
|
2018-12-24 17:47:41 -08:00 |
|
Dustin Carlino
|
d06f80e918
|
lift warp plugin out of simmode. and categorize display logs as view,
just to organize the directory more.
|
2018-12-24 17:31:21 -08:00 |
|
Dustin Carlino
|
597828ce28
|
revamp toggleable layers plugin, and get rid of debug mode
|
2018-12-24 17:22:52 -08:00 |
|
Dustin Carlino
|
ad3ef954eb
|
revamping hider plugin
|
2018-12-24 16:30:45 -08:00 |
|
Dustin Carlino
|
46b3e85bd3
|
flatten some DebugMode stuff that actually doesnt need to be permap, since it's exclusive blocking
|
2018-12-24 12:38:51 -08:00 |
|
Dustin Carlino
|
a626f5c542
|
remove steepness plugin; it's annoying and useless
|
2018-12-24 12:32:39 -08:00 |
|
Dustin Carlino
|
3b372dd9ce
|
move DisplayLogs into exclusive_blocking_plugin
|
2018-12-24 12:26:02 -08:00 |
|
Dustin Carlino
|
7b8b9fdbe6
|
flatten SimMode into DefaultUIState
|
2018-12-24 12:19:16 -08:00 |
|
Dustin Carlino
|
39c3e2917e
|
flatten EditMode into DefaultUIState
|
2018-12-24 10:39:24 -08:00 |
|
Dustin Carlino
|
ac31da777f
|
more cleaned up notes on map model
|
2018-12-21 22:09:11 -08:00 |
|
Dustin Carlino
|
e51a8efbc3
|
start writing proper docs on the map model and conversion
|
2018-12-20 09:54:14 -08:00 |
|
Dustin Carlino
|
003881fe93
|
prototyping right-click context menus. solid start, lots of work needed.
|
2018-12-15 10:39:50 -08:00 |
|
Dustin Carlino
|
3f2a7d6e68
|
display when a traffic signal is in overtime
|
2018-12-14 12:01:00 -08:00 |
|
Dustin Carlino
|
84b136be14
|
finally letting tutorial mode listen to sim events
|
2018-12-14 10:38:14 -08:00 |
|
Dustin Carlino
|
8e715de098
|
simplify UI state a bit... dont plumb around extra KML shapes to display. if we load an A/B test or different map edits, no need to preserve the KML; its for one-off debugging.
|
2018-12-13 11:13:33 -08:00 |
|
Dustin Carlino
|
9d653b103d
|
starting a python script to find ColorScheme calls
|
2018-12-12 16:14:24 -08:00 |
|
Dustin Carlino
|
e29ff690f8
|
move PluginCtx
|
2018-12-12 13:58:02 -08:00 |
|
Dustin Carlino
|
dd859ba76d
|
clean up interaction between UI and get_objects_onscreen a bit
|
2018-12-12 12:27:45 -08:00 |
|
Dustin Carlino
|
6cc7399b89
|
draw full turns using sharp bends if needed
|
2018-12-11 15:19:35 -08:00 |
|
Dustin Carlino
|
a65b097e12
|
working on new intersection merging logic for one hardcoded road...
deleting stuff, changing references, compacting IDs
|
2018-12-11 14:10:35 -08:00 |
|
Dustin Carlino
|
42788363ab
|
more prep for merging intersections... make an intermediate HalfMap structure
|
2018-12-11 12:49:57 -08:00 |
|
Dustin Carlino
|
de5c02a6c4
|
preps for merging intersections again... notes and not passing Map
during first few phases of construction
|
2018-12-11 12:26:21 -08:00 |
|
Dustin Carlino
|
56d3c81d82
|
easily watch logs as a slow test runs
|
2018-12-09 13:43:06 -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
|
b92303ecab
|
avoiding overlapping keys in ViewMode
|
2018-12-08 12:19:16 -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
|
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
|
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
|
f5201bbfa6
|
WIP thinking about running tutorial mode
|
2018-12-05 13:40:21 -08:00 |
|
Dustin Carlino
|
43fa67177d
|
plumbing generic things in ezgui runner
|
2018-12-04 10:20:08 -08:00 |
|
Dustin Carlino
|
f68fe3fd11
|
adding some gifs to the front page
|
2018-12-03 21:34:49 -08:00 |
|
Dustin Carlino
|
1567664b43
|
dont draw signal box when selecting
|
2018-12-03 21:04:37 -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
|
503c3c2ca9
|
warping to turns, with an easily typeable name
|
2018-12-01 14:29:20 -08:00 |
|
Dustin Carlino
|
ac39985f8f
|
smarter traffic signal cycles for four-ways... still breaks, but decent
progress
|
2018-12-01 13:12:11 -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
|
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
|
3f635e74c3
|
making a variant of pathfinding that can abort a walking trip early and
use transit
|
2018-11-29 12:09:54 -08:00 |
|
Dustin Carlino
|
d529b006cb
|
philosophizing on discrete-event sim. disable intersection merging; it's
mostly incorrect and needs lots more thought.
|
2018-11-29 08:38:28 -08:00 |
|
Dustin Carlino
|
e755aeb4ef
|
merging intersections for a hardcoded set of short roads
|
2018-11-28 09:19:36 -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
|
149758d5ae
|
use traffic signal data from new kml, not old shp that's no longer online
|
2018-11-27 13:10:51 -08:00 |
|
Dustin Carlino
|
c2783ab56e
|
making a new Position tuple and equiv_dist_along
|
2018-11-27 09:55:37 -08:00 |
|
Dustin Carlino
|
8509b46b0b
|
print how much time all tests took
|
2018-11-26 16:12:18 -08:00 |
|
Dustin Carlino
|
fcf7ea161c
|
prototyping a better rust test runner that captures output in files
and prints results nicely
|
2018-11-23 14:51:14 -08:00 |
|
Dustin Carlino
|
1fd6c17ff5
|
get rid of the output param primary_plugins hack
|
2018-11-22 15:57:37 -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
|
81c2333b2d
|
initial notes on time travel
|
2018-11-21 12:15:31 -08:00 |
|
Dustin Carlino
|
7278719a04
|
consolidating all of the road query methods
|
2018-11-20 13:36:10 -08:00 |
|
Dustin Carlino
|
b618842ad2
|
WIP woops, found a bug with bike_reached_end
|
2018-11-18 17:02:30 -08:00 |
|
Dustin Carlino
|
044a25fce2
|
give up on Sim being Eq; settle for PartialEq, get rid of all of the annoying 'ignore this field' hacks. also getting rid of unnecessary PartialEq impls in map_model
|
2018-11-18 16:28:43 -08:00 |
|