Commit Graph

355 Commits

Author SHA1 Message Date
Dustin Carlino
bb619a9ddd oops, using the wrong router in lookahead, fixed a bug 2018-08-29 13:26:00 -07:00
Dustin Carlino
aa05519539 woops, forgot to make a bus route to next stop 2018-08-29 13:13:33 -07:00
Dustin Carlino
4840757562 turning assertions in kinemtics layer into nicer errors 2018-08-29 13:05:01 -07:00
Dustin Carlino
b51eb51716 fix bus router; it was starting with the wrong stop 2018-08-29 12:44:39 -07:00
Dustin Carlino
464b61e158 make traffic signals go a little faster by filling out more turns 2018-08-29 12:31:27 -07:00
Dustin Carlino
94b80ccf34 a UI plugin to follow a car or ped 2018-08-29 11:26:52 -07:00
Dustin Carlino
fc2abb1524 silence spammy logs 2018-08-28 14:50:16 -07:00
Dustin Carlino
c9a0ea213b spawning a bus that follows a route 2018-08-28 14:44:11 -07:00
Dustin Carlino
813be332d4 disable stop sign yields; it's uncovering other bugs that i'm not ready to dig into 2018-08-28 13:39:05 -07:00
Dustin Carlino
6e3f246877 make sure we're not exceeding speed limit... 2018-08-28 13:37:14 -07:00
Dustin Carlino
1845e5881b fix bug where cars wouldnt stop for lead vehicles on other lanes, due to lookahead dist confusion 2018-08-28 12:23:06 -07:00
Dustin Carlino
c325f91036 fix a test broken a bit ago 2018-08-28 12:10:15 -07:00
Dustin Carlino
bb15bdb4d4 extracting out router for cars. along the way, kinda rearranging how
mutability and views work
2018-08-28 12:02:52 -07:00
Dustin Carlino
a9bb71c59f modeling and rendering bus stops 2018-08-27 15:06:13 -07:00
Dustin Carlino
b70648a8d4 print relevant savestate when the sim breaks 2018-08-27 14:18:09 -07:00
Dustin Carlino
9115a9e7f1 use run_until_done in more places 2018-08-27 14:05:05 -07:00
Dustin Carlino
3333aa69a8 refactoring helpers for tests and headless 2018-08-27 13:52:34 -07:00
Dustin Carlino
fe8a28ff34 savestate regularly 2018-08-27 13:21:31 -07:00
Dustin Carlino
891b07bec4 load from map or savestate 2018-08-27 13:14:03 -07:00
Dustin Carlino
f0a60e434d load most recent sim savestate 2018-08-27 11:42:55 -07:00
Dustin Carlino
269235d1e1 writing savestates in a consistent place 2018-08-27 11:10:02 -07:00
Dustin Carlino
6eb935a88d dont stop at stop signs for priority turns 2018-08-24 12:53:21 -07:00
Dustin Carlino
c3d7595fc3 (slightly) smarter stop sign assignment 2018-08-24 12:46:09 -07:00
Dustin Carlino
f36c94c730 render individual points from extra KML, and refactor some circle helpers 2018-08-23 15:17:37 -07:00
Dustin Carlino
f141329e85 moving some types in the sim layer around, now that the dust has settled 2018-08-23 13:56:49 -07:00
Dustin Carlino
2a12c338cf fixing up the parking test... had to deal with horizontal/vertical lines
for the building front path stuff
2018-08-23 10:37:17 -07:00
Dustin Carlino
7745678794 make the spawner deal with trips and transitions... big revamp for it 2018-08-23 10:11:56 -07:00
Dustin Carlino
0a944f9864 making peds be able to start/end at a parking spot as well. nothing
tells them to start/end at parking yet, though
2018-08-23 07:58:18 -07:00
Dustin Carlino
fbf6010715 make peds walk to bldgs when done with path 2018-08-22 14:19:46 -07:00
Dustin Carlino
7b28b8c988 make peds actually walk from bldg to sidewalk when starting 2018-08-22 14:03:08 -07:00
Dustin Carlino
3fba70a9a9 make pedestrians start aligned with building paths. almost ready to make
them travel along the front path
2018-08-22 13:43:11 -07:00
Dustin Carlino
82952ef198 remembering where the front path hits the sidewalk 2018-08-22 12:21:58 -07:00
Dustin Carlino
a2399f6613 trimming front paths to building edges 2018-08-22 11:54:18 -07:00
Dustin Carlino
00056e6e81 require a front path for buildings, by ignoring street names 2018-08-22 11:33:29 -07:00
Dustin Carlino
0e2ae49596 debug a car in a different color 2018-08-22 10:13:32 -07:00
Dustin Carlino
cca0915ff3 can only park next to an adjacent lane 2018-08-22 09:47:46 -07:00
Dustin Carlino
19727cdcaf adjusting intersection policy to not deadlock? 2018-08-22 09:30:33 -07:00
Dustin Carlino
9b4caacea7 quick fix for signal overrun 2018-08-22 09:02:30 -07:00
Dustin Carlino
ef307e817f debugging for an intersection policy problem. traffic signal allows
overrun!
2018-08-21 19:02:24 -07:00
Dustin Carlino
9f1ad3755d present sim time in a nicer format 2018-08-21 16:19:54 -07:00
Dustin Carlino
b87af4b303 digging into stuck kinematics. seemingly unblocks completion test! 2018-08-20 15:34:55 -07:00
Dustin Carlino
ebb83e6592 woops, driving capacity not based on all long vehicles 2018-08-20 13:31:24 -07:00
Dustin Carlino
d84a9b06cc make following distance understand different car lengths 2018-08-20 13:05:36 -07:00
Dustin Carlino
9fdac1cfe3 removing the defunct models module 2018-08-20 12:53:15 -07:00
Dustin Carlino
1eecc48dbe removing parametric driving model for now. too much work to keep it updated as aorta driving model improves, and no benefit anticipated. 2018-08-20 12:39:03 -07:00
Dustin Carlino
7f29e5d285 making car length vary, and adjusting parking model in response 2018-08-20 12:31:39 -07:00
Dustin Carlino
917c3c3ed5 WIP storing per-car properties like accel somewhere 2018-08-20 11:27:11 -07:00
Dustin Carlino
e2ee2ecc84 drawing cars a bit more nicely 2018-08-19 19:01:31 -07:00
Dustin Carlino
bf52822e37 wrote a few tests of parking 2018-08-19 18:07:28 -07:00
Dustin Carlino
3376633ed9 avoid dupe commands to start parked cars 2018-08-17 22:37:57 -07:00