Dustin Carlino
64d4117c0c
moving GUI runner to ezgui
2018-09-09 18:50:36 -07:00
Dustin Carlino
013b3e11c5
pathfinding using bus stops, unused, and not the right interface yet
2018-09-09 14:03:20 -07:00
Dustin Carlino
ad55fd2924
detect when editor_state is for another map and ignore intersection changes
2018-09-09 13:21:53 -07:00
Dustin Carlino
0b127e979a
WIP generalizing pathfinding to have different expansion and costs
2018-09-09 13:15:56 -07:00
Dustin Carlino
0876315d50
make large.abst load, damnit!
...
- deal with loop lanes screwing up trim_lines
- give up when trim_lines fails and just keep the full geometry
- tune some epsilons
- delete duplicate turns instead of panicking
2018-09-08 21:16:58 -07:00
Dustin Carlino
f386278343
tuning EPSILON_DIST to make large.abst closer to loading
2018-09-08 19:48:11 -07:00
Dustin Carlino
dc4806bbcc
drop buildings too far away from sidewalks
2018-09-08 15:04:05 -07:00
Dustin Carlino
b14fcf8449
match bus stops to driving lanes more robustly
2018-09-08 14:54:54 -07:00
Dustin Carlino
f3982282de
speed up building creation by doing sidewalk finding in bulk
2018-09-08 13:28:09 -07:00
Dustin Carlino
630f6504f4
stick in some flamegraph timings to part of map loading
2018-09-08 13:01:39 -07:00
Dustin Carlino
ba9fe54c2a
trying to make medium map load!
...
- new polyline shifting that keeps a constant width, even at sharp
corners. it breaks and is slow when shifting just to make thick
polygons, so keep the old version around for that. actually, disable
it always. :(
- deal with bus stops on sidewalks with no associated driving lane
- more hacks to make dist_along_of_pt work for horiz/vertical lines
- handling bus stops close to the end of a sidewalk
2018-09-08 12:48:25 -07:00
Dustin Carlino
6bff2113be
more OSM types so medium map doesn't immediately crash. trying to fix
...
bad polyline projection in another branch, but don't have it working yet
2018-09-08 10:15:38 -07:00
Dustin Carlino
3cff2cecd7
stop drawing text labels on lanes
2018-09-07 15:15:16 -07:00
Dustin Carlino
87a33a6c78
replaced parts of the polygon ear clipping and seemingly fixed all the
...
problems!
2018-09-07 15:03:28 -07:00
Dustin Carlino
99fe9f170c
fixing up tests
2018-09-07 14:08:36 -07:00
Dustin Carlino
58b01fce9e
instantiate bus routes from GTFS too
2018-09-07 13:03:50 -07:00
Dustin Carlino
143084a8a9
parse gtfs during map conversion
2018-09-07 11:54:27 -07:00
Dustin Carlino
9c317137d7
use itertools in gtfs
2018-09-07 10:55:58 -07:00
Dustin Carlino
1b30dafb03
now construct bus stops in the map model layer... working, seemingly
2018-09-06 19:14:29 -07:00
Dustin Carlino
c1ad5fb39f
working on turning GTFS into map model layer bus stops, but interlude of
...
refactoring a sidewalk pt finder thing
2018-09-06 18:18:56 -07:00
Dustin Carlino
e02ec325de
simpler gtfs parsing
2018-09-06 16:48:28 -07:00
Dustin Carlino
1d732c5a3b
WIP load gtfs
2018-09-06 14:59:02 -07:00
Dustin Carlino
c5c00d5740
record stack traces
2018-09-06 13:32:35 -07:00
Dustin Carlino
0276dd54aa
starting to capture stack traces at runtime
2018-09-05 16:37:18 -07:00
Dustin Carlino
e99d9944e4
using failure crate in sim
2018-09-05 15:21:04 -07:00
Dustin Carlino
a2c7b8b5bd
fixing warping peds and preventing it from happening again
2018-09-05 14:22:47 -07:00
Dustin Carlino
fbcc2a9094
unifying WorldView and AgentInfo
2018-09-05 13:10:29 -07:00
Dustin Carlino
62d0c4af15
make simqueue cache dist_along
2018-09-05 12:22:35 -07:00
Dustin Carlino
8547b18650
WIP figuring out why just yielding at stop signs breaks things
2018-09-05 11:57:06 -07:00
Dustin Carlino
a5bc4d6b83
draw front paths below buildings to avoid overlap
2018-09-05 11:26:44 -07:00
Dustin Carlino
bcffd37477
few more steps on the static analysis; realizing how hard it might be
2018-09-05 09:29:36 -07:00
Dustin Carlino
3085f78545
experimenting with a static analysis to understand how all the sim
...
managers interact
2018-09-04 23:48:32 -07:00
Dustin Carlino
551c0c3170
making BusStop a lightweight ID-like thing
2018-09-04 13:21:01 -07:00
Dustin Carlino
11f0f20a3e
digging into nondeterminism due to fp issues
2018-09-04 12:56:18 -07:00
Dustin Carlino
686f247b52
adding a test of a ped using the bus
2018-09-04 12:19:28 -07:00
Dustin Carlino
55b02e6c5c
making a sample ped using the bus
2018-09-04 11:49:22 -07:00
Dustin Carlino
a74bfe6c92
making peds leave the bus
2018-09-04 11:18:27 -07:00
Dustin Carlino
7e8407466e
gluing transit sim to trip manager for boarding a bus
2018-09-04 10:55:44 -07:00
Dustin Carlino
bc9b559701
making the multi-leg trips handle transitions correctly
2018-09-04 10:31:52 -07:00
Dustin Carlino
9d01183a7e
introducing some proper multi-leg trips
2018-09-04 10:16:34 -07:00
Dustin Carlino
ae3a293d44
moving most of the parts of spawner that use rng to helpers
2018-09-03 12:47:06 -07:00
Dustin Carlino
3ecad61959
moving more sim spawning methods to helpers
2018-08-31 15:22:35 -07:00
Dustin Carlino
93e4e4217e
moving some init helpers to be methods of sim
2018-08-31 15:11:18 -07:00
Dustin Carlino
0205eb8978
splitting out a trip manager from the spawner
2018-08-31 14:13:55 -07:00
Dustin Carlino
c1f87395cc
unused, WIP code for peds to wait for, board, deboard buses
2018-08-31 11:23:30 -07:00
Dustin Carlino
c38c9d43ac
visualize an agent's path
2018-08-30 15:30:53 -07:00
Dustin Carlino
c685a80a98
moving state to transit model, making router get directives from it
2018-08-30 15:00:52 -07:00
Dustin Carlino
da402dd2c1
making the unit test framework watch for events
2018-08-30 11:36:14 -07:00
Dustin Carlino
63a8171370
recording events that happen each tick
2018-08-30 11:03:58 -07:00
Dustin Carlino
44f02273be
starting a transit sim state, so we know when a bus is at a stop, so we can unit test it. ;)
2018-08-29 23:42:16 -07:00