Commit Graph

1849 Commits

Author SHA1 Message Date
Dustin Carlino
05ffb18fbc publishing an event to make the parking tests work 2019-02-28 10:54:03 -08:00
Dustin Carlino
e6ff4481e7 do ID allocation more up-front 2019-02-27 14:29:45 -08:00
Dustin Carlino
84c1a94f49 implement test helper for seeding parked cars 2019-02-27 13:23:13 -08:00
Dustin Carlino
50451b6120 make tests build again. cleanup sim::load 2019-02-27 13:16:28 -08:00
Dustin Carlino
dcce91b97a delete Acceleration 2019-02-27 12:29:23 -08:00
Dustin Carlino
17d9a42218 delete the first attempt at a simpler model, the one with time-space intervals 2019-02-27 12:27:47 -08:00
Dustin Carlino
dd6921323d delete a little commented out code 2019-02-27 12:24:57 -08:00
Dustin Carlino
54935ab5de draw unzoomed cars, color peds preparing bikes 2019-02-27 12:23:15 -08:00
Dustin Carlino
c6f64cbec5 clean up imports and visibility in sim 2019-02-27 12:19:38 -08:00
Dustin Carlino
f249c6b2d9 call Timer.done automatically using Drop trait. use throwaway less 2019-02-27 12:15:04 -08:00
Dustin Carlino
f6a6bb888e cleanup crate dependencies, fix spawning car from lane, reduce
mutability of debug_car
2019-02-27 12:06:29 -08:00
Dustin Carlino
11c549331e finally, the big cutover! editor and headless work. tests dont compile. 2019-02-27 11:53:45 -08:00
Dustin Carlino
8e522e13dc prepping helpers to spawn ala carte trips 2019-02-27 11:25:13 -08:00
Dustin Carlino
be797e7e6f rearrange sim crate code to prep for easier cutover 2019-02-27 09:38:52 -08:00
Dustin Carlino
350428b6e9 impl remaining Sim methods 2019-02-27 09:33:49 -08:00
Dustin Carlino
d52be43a30 lift owner into Vehicle 2019-02-27 09:18:30 -08:00
Dustin Carlino
874b3be519 prevent illegal trip from happening, fix bike_to_sidewalk 2019-02-27 09:04:06 -08:00
Dustin Carlino
ba9a545dcf use Path natively in Router 2019-02-27 08:50:26 -08:00
Dustin Carlino
18d00b7a31 more sim API 2019-02-26 23:50:18 -08:00
Dustin Carlino
bf52dd5c1a more carefully filling out the Sim API again 2019-02-26 17:17:16 -08:00
Dustin Carlino
41d23d2e54 properly implementing stuff in Sim so far... removing some half-baked summary stuff 2019-02-26 17:06:06 -08:00
Dustin Carlino
c0c4dbd4d2 impl GetDrawAgents inside Sim 2019-02-26 16:49:30 -08:00
Dustin Carlino
b3b4f82f45 rename CarState enum 2019-02-26 16:41:32 -08:00
Dustin Carlino
fdecedc508 fix Duration formatting 2019-02-26 16:38:13 -08:00
Dustin Carlino
5043c193b2 split up geom units.rs 2019-02-26 16:22:35 -08:00
Dustin Carlino
c7b1894cd4 bring in few other sim files 2019-02-26 15:04:54 -08:00
Dustin Carlino
df7e9716f4 bring in make/ code from sim, dont use it 2019-02-26 14:43:21 -08:00
Dustin Carlino
b0abf7abff make time private in Sim, force clear API 2019-02-26 14:23:59 -08:00
Dustin Carlino
76ee37c077 get rid of Tick externally 2019-02-26 14:21:57 -08:00
Dustin Carlino
42c7c21246 removing many external dependencies on Tick. moving time parsing to
Duration.
2019-02-26 14:09:08 -08:00
Dustin Carlino
d5181f6bf8 own time inside of Sim 2019-02-26 13:08:56 -08:00
Dustin Carlino
5d033e9bbd speed up spawning with an index of bldg->owned car 2019-02-26 12:24:19 -08:00
Dustin Carlino
37ce6ff357 organizing scenario code a little 2019-02-26 12:14:03 -08:00
Dustin Carlino
8ab4b403fa bike -> ped 2019-02-26 11:43:10 -08:00
Dustin Carlino
e404780c25 bikes pt1 -- start biking 2019-02-26 11:14:28 -08:00
Dustin Carlino
4bf7a6f4ea use scenario for the big run 2019-02-25 20:01:55 -08:00
Dustin Carlino
f1ad9f8b0c port scenario, don't use yet 2019-02-25 19:52:26 -08:00
Dustin Carlino
885f85f5a5 walk after parking 2019-02-25 16:51:28 -08:00
Dustin Carlino
16a6a62ce3 making it easier to get driving pos from parked car 2019-02-25 13:21:42 -08:00
Dustin Carlino
0e7a08a0a3 make peds start and end at buildings... oops, and also start parked cars
from ped. except need something more
2019-02-25 12:37:42 -08:00
Dustin Carlino
41169a7c5b do validation upfront in TripSpawner 2019-02-24 12:34:53 -08:00
Dustin Carlino
3c219a035a use spawner from UI 2019-02-24 12:10:40 -08:00
Dustin Carlino
aea11b72e3 putting together a spawn layer. not using it yet. 2019-02-24 11:15:49 -08:00
Dustin Carlino
0c9b173683 use scheduler for spawning (and retrying) cars 2019-02-23 15:46:28 -08:00
Dustin Carlino
2e37d673b8 port scheduler. use it for spawning peds. 2019-02-23 15:18:03 -08:00
Dustin Carlino
661b486870 WIP bring in trips, just make it build 2019-02-23 14:44:23 -08:00
Dustin Carlino
6de3b08fa7 an attempt to keep mechanics and higher-level planning a bit separated 2019-02-23 14:35:16 -08:00
Dustin Carlino
e7dc9cb644 make peds obey intersections too 2019-02-23 13:36:13 -08:00
Dustin Carlino
4f0e7fb425 reduce viz of parking sim state 2019-02-23 13:10:52 -08:00
Dustin Carlino
ebd9eec3c7 split out intersection sim state 2019-02-23 13:04:00 -08:00