Commit Graph

656 Commits

Author SHA1 Message Date
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
24edfcd784 place parked cars close to buildings, in a stable way 2018-10-17 11:49:15 -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
9400e3d010 refactor: hardcode concrete rng type, remove annoying generic 2018-10-16 12:00:20 -07:00
Dustin Carlino
14c341d86a shuffle parked cars to use without offsetting the RNG 2018-10-16 11:50:16 -07:00
Dustin Carlino
77786c9483 forking RNGs to keep SeedParking consistent 2018-10-16 11:39:16 -07:00
Dustin Carlino
21dcb14123 importing neighborhoods from geojson 2018-10-16 09:18:09 -07:00
Dustin Carlino
bc48b3189f generate trips to spawn before seeding parking spots, to make trip IDs line up better... 2018-10-14 18:53:39 -07:00
Dustin Carlino
022b78ca34 associate trips with peds and cars more easily 2018-10-14 14:10:46 -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
5a11c705f0 woops, load_all_objects was picking up vim swapfiles 2018-10-13 18:25:08 -07:00
Dustin Carlino
19bcf0199e update map paths in tests 2018-10-13 17:43:52 -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
4bee9fa4e9 found the source of trace_route mismatch. epsilon strikes again. 2018-10-13 16:08:21 -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
e4dc075871 WIP trying to solve problem of driving traces not matching up sometimes 2018-10-13 15:41:40 -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
fddc56dca5 trying to fix building with driving lane thats hard to find... ah,
because we wound up making a road without a driving lane. :D
2018-10-13 10:50:26 -07:00
Dustin Carlino
37173fc72c dont savestate at 0s 2018-10-10 16:31:16 -07:00
Dustin Carlino
792c25b40b removing failure crate in sim too 2018-10-10 16:29:43 -07:00
Dustin Carlino
6f33c9a6da failure crate actually sucks for context, rolling my own simple thing 2018-10-10 16:24:33 -07:00
Dustin Carlino
843742b708 adding error messages for map model queries that can fail 2018-10-10 15:58:00 -07:00
Dustin Carlino
e681032866 fix bug where commands scheduled at tick 0 were skipped 2018-10-10 09:27:06 -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
88ac5267d2 include turns in ped route... but oops, this won't work, need to know
contraflow lanes when taking slices
2018-10-09 15:17:17 -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
d3e5fdb7c4 moving on->traversable, in the map model directly 2018-10-09 13:09:26 -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
af2d49debb show a textbox when an empty menu is attempted 2018-10-08 12:25:17 -07:00