Commit Graph

954 Commits

Author SHA1 Message Date
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
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
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
Dustin Carlino
ac4044b087 make peds follow path, ignore intersections, vanish at end 2019-02-23 12:52:21 -08:00
Dustin Carlino
2bca40bbfd skeleton of walking sim, gluing drawing 2019-02-23 12:35:30 -08:00
Dustin Carlino
b6eb62aa62 give commands to spawn peds, but don't do anything with them yet 2019-02-23 11:48:42 -08:00
Dustin Carlino
ce019ed08d deal with case where two cars start parking in the same spot 2019-02-22 20:44:19 -08:00
Dustin Carlino
bb32525e9a roam around for parking 2019-02-22 20:08:17 -08:00
Dustin Carlino
e619a620f3 fix a case with unparking -> last step immediately 2019-02-22 18:55:21 -08:00
Dustin Carlino
3aded47d5f make some cars park when finished. works in most cases. 2019-02-22 15:51:51 -08:00
Dustin Carlino
3bcfcb8c84 pulling path and end_dist into a Router. handling a special case of the
last step
2019-02-22 13:59:37 -08:00
Dustin Carlino
4593e168b0 actually make the parked cars start slowly 2019-02-22 12:38:35 -08:00
Dustin Carlino
a928b32ebc preps to start some parked cars 2019-02-22 12:02:12 -08:00
Dustin Carlino
e778241216 making a Sim to wrap driving and parking. seeding some parked cars. 2019-02-22 11:31:36 -08:00
Dustin Carlino
6673807422 bring in parking code and some structures needed for it. dont use it yet. switch to Vehicle. 2019-02-22 11:09:33 -08:00
Dustin Carlino
ff8ddc94b5 splitting DES code into modules more properly 2019-02-22 10:45:58 -08:00
Dustin Carlino
cbc25cff8b traffic signals allowing over-time 2019-02-21 22:27:32 -08:00