Commit Graph

934 Commits

Author SHA1 Message Date
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
Dustin Carlino
29f03043a3 cleaning up some edge cases in spawning 2019-02-21 19:17:52 -08:00
Dustin Carlino
63b5c341bc smooth out the position of queued cars when they become unblocked...
kind of. some bugs emerge -- clean up code to track them down...
2019-02-21 19:09:38 -08:00
Dustin Carlino
d5e30b6e06 allow more turns at a time, dont avoid gridlock 2019-02-21 18:02:59 -08:00
Dustin Carlino
9a26bc3659 queues per turn. all the prep for more complex intersections. 2019-02-21 17:36:33 -08:00
Dustin Carlino
a45b4510b6 speed up neighborhood<->building and road matching during scenario instantiation 2019-02-21 11:33:56 -08:00
Dustin Carlino
70cfcc9b45 convert all synthetic maps during precompute.sh; they keep getting out of sync with map format changes 2019-02-21 10:25:59 -08:00
Dustin Carlino
5e9d4ca7f7 populate more turns so that lane-changing effectively happens when
turning, but keep the lane->lane semantics
2019-02-20 17:03:26 -08:00
Dustin Carlino
86cb58b5f1 first make a DirectedRoad ID, finally 2019-02-20 16:23:24 -08:00
Dustin Carlino
8112df11d2 different vehicle lengths 2019-02-20 15:35:11 -08:00
Dustin Carlino
55c6e20db7 end distance, too 2019-02-20 15:01:56 -08:00
Dustin Carlino
28b2ca5e9f fix a case where spawning moved existing cars 2019-02-20 14:52:05 -08:00
Dustin Carlino
e3ad0ed02a prevent spillover by stopping cars from starting a turn when there's no room at the end 2019-02-20 14:37:18 -08:00
Dustin Carlino
fd7b20b01c spawn cars anywhere along first lane. seems to work! 2019-02-20 13:49:15 -08:00
Dustin Carlino
890eb070b0 preps to spawn cars anywhere along the first lane 2019-02-20 12:27:01 -08:00
Dustin Carlino
09af9e6cda removing the log crate completely. remove the DisplayLogs plugin, since
it's unused and unclear how it should work going forwards
2019-02-20 11:56:54 -08:00
Dustin Carlino
40206eccc3 removing most log usage from editor 2019-02-20 11:29:36 -08:00
Dustin Carlino
e4ef1ec79d removing log from sim 2019-02-20 11:22:51 -08:00
Dustin Carlino
a026c02890 removing log crate from map_model 2019-02-20 11:03:34 -08:00
Dustin Carlino
c2791a6ead using Warn in all of geom 2019-02-20 10:36:58 -08:00
Dustin Carlino
1848387ef0 starting to organize warnings in a much more reasonable way. 2019-02-20 10:08:02 -08:00