Commit Graph

2191 Commits

Author SHA1 Message Date
Dustin Carlino
903d3391db loading popdat broke... handle small number of classes for colorbrewer
too
2019-06-09 13:47:05 -07:00
Dustin Carlino
8eb03b81c3 remove edits_name from SimFlags and refactor loading MapEdits by name. fixes bug where quitting an a/b test breaks loading other maps by retaining edits_name 2019-06-08 16:32:10 -07:00
Dustin Carlino
53d87afa6e move hex parsing 2019-06-08 13:15:31 -07:00
Dustin Carlino
d0de5d8bd6 make sim.get_stats actually fast; why was I ever doing the other way? 2019-06-08 13:05:29 -07:00
Dustin Carlino
c9c8b53082 highlight diff agents when unzoomed 2019-06-08 10:44:19 -07:00
Dustin Carlino
2d0a53c2d6 improving turn type classification for driving/bus/bike lane interactions; this in turn improves the default intersection policies 2019-06-07 16:32:42 -07:00
Dustin Carlino
eff735611e adjust trip diffing color to not block main agent. make sure agents initially show up on primary after loading an abtest 2019-06-07 16:01:52 -07:00
Dustin Carlino
0e6232a279 quick revert for lanes and intersections 2019-06-07 15:48:35 -07:00
Dustin Carlino
2d638eb94b tool to bulk edit lane types 2019-06-07 15:41:39 -07:00
Dustin Carlino
e54792b883 new release 2019-06-07 13:26:43 -07:00
Dustin Carlino
12225ea42f silence an a/b test warning while a bus is idling and has no route 2019-06-07 11:38:56 -07:00
Dustin Carlino
6a1f44ba55 setup ab test more cheaply by applying edits to existing primary 2019-06-07 11:27:36 -07:00
Dustin Carlino
7d4df3df8e do a/b test setup in one loading screen timer 2019-06-07 11:04:16 -07:00
Dustin Carlino
a59c120e00 glue together both directions of a bus route 2019-06-07 10:55:40 -07:00
Dustin Carlino
57de773101 fix bus stop order... my MultiMap impl uses BTreeSet 2019-06-06 16:50:22 -07:00
Dustin Carlino
b13ed7a0d6 bus route explorer in debug mode 2019-06-06 16:22:32 -07:00
Dustin Carlino
e3e032cb2e argh, bus route IDs were totally out of sync with reality 2019-06-06 15:36:36 -07:00
Dustin Carlino
c29769a6b4 print bus stops and routes nicely in OSD 2019-06-06 15:31:59 -07:00
Dustin Carlino
88f6516f79 recalculate bus stop driving_pos when editing 2019-06-06 14:52:53 -07:00
Dustin Carlino
d7e639b5f3 dont allow orphaning a bus stop 2019-06-06 14:43:53 -07:00
Dustin Carlino
dd3772f0b5 a/b test mode fixes: allow panning in manage mode, reset mouseover when entering state, recalculate trip diffs when swapping. dont print warning when there's no diff for some agent 2019-06-06 14:30:43 -07:00
Dustin Carlino
322176dded detect when edits are equivalent to original 2019-06-06 13:56:42 -07:00
Dustin Carlino
6868a0751f keys to change lanes to specific types; not just toggling through options 2019-06-06 13:38:38 -07:00
Dustin Carlino
6221fd858b make edit mode's cross hatches less intrusive 2019-06-06 13:29:45 -07:00
Dustin Carlino
c3efe3d857 print warning when warping to a nonexistent car 2019-06-06 12:54:17 -07:00
Dustin Carlino
36cddbf5df recalculate current selection in all the places that used to before a big UI refactor. if not, hovering on agent + jumping savestates can crash badly. also refactor how mouseover is detected 2019-06-06 12:51:49 -07:00
Dustin Carlino
5ab5b7b3d3 actually apply scenario name when instantiating to sim run name, so savestates look nice. fix find next/prev savestate to not require exact current match -- why did I ever do that? 2019-06-06 11:55:49 -07:00
Dustin Carlino
df88486b5e better default for run name when there are scenarios 2019-06-05 17:23:04 -07:00
Dustin Carlino
4f6cb2db60 fixed bug with UpdateLaggyHead's blind retry 2019-06-05 17:08:45 -07:00
Dustin Carlino
0923bfd1ac write scenarios in binary, not json. -shrug- 2019-06-05 13:32:02 -07:00
Dustin Carlino
34e637773d simplify wizard.wrap API slightly 2019-06-05 13:13:33 -07:00
Dustin Carlino
b2ad0b5ae7 converting PSRC trips to a repeatable scenario. along the way,
parallelizing and refactoring a bit of psrc stuff
2019-06-05 12:58:06 -07:00
Dustin Carlino
e87581a86e adjusting map of 23rd ave for first real demo. making unzoomed colors
match between sim and psrc trip viz
2019-06-05 11:47:17 -07:00
Dustin Carlino
c8846b9e74 color unzoomed agents by mode, not stuckness 2019-06-04 18:38:26 -07:00
Dustin Carlino
2264aa4b5d raise speed cap to 5 minutes / real second. add a timer to a slow part of spawning PSRC trips 2019-06-04 18:20:59 -07:00
Dustin Carlino
12d981c654 speed up initial trip spawning by not constantly maintaining an in-order priority queue 2019-06-04 17:37:53 -07:00
Dustin Carlino
69a7b92499 make headless use something custom, remove Benchmark. oops, and also convert ab test mode to SpeedControls. 2019-06-04 16:15:46 -07:00
Dustin Carlino
5e48cde4fc refactor speed controls. savestate WAY less often, now that the sim is
so fast running.
2019-06-04 15:23:37 -07:00
Dustin Carlino
0c6a93d38f introducing a basic slider to adjust speed of all route viz player and
sim. code duplication.
2019-06-04 14:22:11 -07:00
Dustin Carlino
82120c21a7 woops, more CarAppearing crashes for bikes 2019-06-03 12:24:44 -07:00
Dustin Carlino
46bf806b49 make loading screens more accurately portray what's happening, by adjusting timers 2019-06-03 11:50:34 -07:00
Dustin Carlino
661fedaa28 fix PSRC trips with borders on larger maps 2019-06-01 18:41:45 -07:00
Dustin Carlino
314489c63f overhaul unzoomed agent rendering -- just colored circles 2019-06-01 10:13:17 -07:00
Dustin Carlino
7a6a68c292 stop drawing routes in all trip viz mode. doesnt add anything 2019-06-01 08:31:30 -07:00
Dustin Carlino
b47069811e TRY to adjust departure time and such for trips starting/ending at the border 2019-05-31 15:41:38 -07:00
Dustin Carlino
97fe81d271 VERY fast clip_trips: parallelism, faster distance function, don't
constantly recalculate pts
2019-05-31 14:43:15 -07:00
Dustin Carlino
70a698236b more quietly filter out pass-through trips in popdat bin. move trips
code in editor into its own module
2019-05-31 14:03:08 -07:00
Dustin Carlino
142f84a232 display passengers on a bus in debug mode. also sort PSRC trips by
departure time to make later viz a little easier to follow
2019-05-31 13:52:14 -07:00
Dustin Carlino
29473d00db fix trip spawning and pathfinding when borders involved 2019-05-31 13:30:22 -07:00
Dustin Carlino
8b4ed47cc4 display the OOB pt for border trips, for sanity 2019-05-31 13:12:03 -07:00