Commit Graph

900 Commits

Author SHA1 Message Date
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
73b2d0ac24 ah, was forgeting multiple ped turns in sequence 2018-11-30 08:47:46 -08:00
Dustin Carlino
87a357d67c adjusting pathfinding costs, trying to figure out why walking routes are awful 2018-11-29 16:47:04 -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
14097bebfc moving BusRouteID to map_model layer from sim 2018-11-29 12:38:06 -08:00
Dustin Carlino
80e3776855 refactoring cost/heuristic of InternalPathStep 2018-11-29 12:25:01 -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
17262063a1 following logic wasn't considering length of lead vehicle properly?
adjusted code a bit, but still seeing a violation
2018-11-28 14:27:12 -08:00
Dustin Carlino
6bdb28cced oops, bike starting at border was using a router to car-style park 2018-11-28 13:53:36 -08:00
Dustin Carlino
211019efd2 no more VanishAtDeadEnd. if it's happening, let's notice it. 2018-11-28 13:42:40 -08:00
Dustin Carlino
e606ab79fa adjust ped_uses_bus test; need a bit more time for the bus to reach the final stop 2018-11-28 13:27:14 -08:00
Dustin Carlino
34f8e93bad dont need pt_and_angle, just pt of Positions 2018-11-28 13:14:49 -08:00
Dustin Carlino
bdd07a7246 woops, missed a should-be caller of equiv_pos 2018-11-28 13:13:12 -08:00
Dustin Carlino
e4e1eb139e automatically merge all short roads 2018-11-28 12:06:09 -08:00
Dustin Carlino
e150ce3aef new test to make sure raw->map conversion is also deterministic, not just convert_osm 2018-11-28 09:36:42 -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
5406593843 fix ped_uses_bus test 2018-11-27 12:34:19 -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
93dd6b1c17 fix an old path in the map_conversion test 2018-11-27 10:11:10 -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
f743b8cbaa dont use gedit, since it cant display escape codes 2018-11-26 16:04:15 -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
cb4c5079a6 woops, forgot to hook up logging in tests 2018-11-26 14:46:27 -08:00
Dustin Carlino
f26de57039 revive the other transit test 2018-11-26 14:36:59 -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
b260de1d50 make test output stuff clickable inside urxvt 2018-11-26 12:27:06 -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
88ad929644 revive the other parking test. add option to always show savestate 2018-11-26 11:31:45 -08:00
Dustin Carlino
56c885e7ab revive the first parking test. make helpers to look up labeled stuff from synthetic maps. make helpers to seed specific parked cars and start certain trips again. 2018-11-26 11:22:17 -08:00
Dustin Carlino
a9ff1906ad label each side of a synthetic road 2018-11-26 09:42:57 -08:00
Dustin Carlino
00e76b388f mousing over different sides of a synthetic road 2018-11-26 09:33:11 -08:00
Dustin Carlino
faee567dc3 draw synthetic stuff highlighted 2018-11-26 09:17:36 -08:00
Dustin Carlino
c46489ca83 naming synthetic buildings 2018-11-26 09:03:38 -08:00
Dustin Carlino
d0b90b9243 also export synthetic maps when saving them 2018-11-26 08:38:16 -08:00
Dustin Carlino
6fbb22d9e4 port over the last two tests, partly 2018-11-25 08:57:33 -08:00
Dustin Carlino
d5ce679b38 cleaning up runner output 2018-11-24 11:43:38 -08:00
Dustin Carlino
fe9f974c73 optionally associate a test with a sim savestate for easy repro / watching in UI 2018-11-24 11:30:43 -08:00
Dustin Carlino
1e62059815 print test results as they happen 2018-11-24 10:29:11 -08:00
Dustin Carlino
d5e0a6fc49 put test results in different directories and remove successful logs 2018-11-24 10:18:04 -08:00
Dustin Carlino
03712f65d5 filter tests by name 2018-11-24 10:09:47 -08:00
Dustin Carlino
cec29beda5 moving two sim tests over to the new runner 2018-11-23 16:11:27 -08:00
Dustin Carlino
878889133a running just fast/slow tests in runner, and making the helper script
invoke the new runner
2018-11-23 15:53:28 -08:00
Dustin Carlino
ff0e921c15 grouping tests with suite name 2018-11-23 15:19:51 -08:00