Dustin Carlino
|
965037ce77
|
mvp of visualizing interactive sources/sinks
|
2019-11-08 13:16:22 -08:00 |
|
Dustin Carlino
|
8fa813f5c2
|
match agents spawning somewhere on a lane as a border intersection, so trip counting works. much simpler than the full refactor attempted in another branch.
|
2019-11-08 12:23:55 -08:00 |
|
Dustin Carlino
|
b7dd4d5ec0
|
stop flipping colors of cars based on stuck/moving when zoomed in
|
2019-11-08 09:38:38 -08:00 |
|
Dustin Carlino
|
6a5b312a07
|
same for correct end lanes
|
2019-11-07 16:32:26 -08:00 |
|
Dustin Carlino
|
b0dde63e57
|
make bulk spawner use correct start lanes
|
2019-11-07 16:16:04 -08:00 |
|
Dustin Carlino
|
e82abafb70
|
change gridlock score to use number of finished trips
|
2019-11-07 08:59:29 -08:00 |
|
Dustin Carlino
|
c326017883
|
make sim analytics invariant of the step() sizes called. prebaked vs
live sims were artifically different.
|
2019-11-06 12:31:13 -08:00 |
|
Dustin Carlino
|
1a28768df3
|
displaying bus delay data over time. needs work, but solid start to a
general plotting mechanism
|
2019-11-05 13:00:51 -08:00 |
|
Dustin Carlino
|
c54842faff
|
get rid of DurationStats, just beef up DurationHistogram slightly
|
2019-11-04 14:31:40 -08:00 |
|
Dustin Carlino
|
ec956f5b13
|
turning PrebakedResults into just sim analytics
|
2019-11-04 14:24:06 -08:00 |
|
Dustin Carlino
|
974ad24ec3
|
refactoring some TripMode enum stuff
|
2019-11-04 13:51:25 -08:00 |
|
Dustin Carlino
|
7eeebb72ec
|
displaying different bus arrival info, and experimenting with storing the data differently. no prebaking yet.
|
2019-11-04 10:41:50 -08:00 |
|
Dustin Carlino
|
8d32671834
|
dont spawn buses by default in scenarios
|
2019-11-04 09:59:52 -08:00 |
|
Dustin Carlino
|
7c6f2c62b6
|
compare faster trips by baseline over time
|
2019-11-03 17:17:47 -08:00 |
|
Dustin Carlino
|
3ba33e4bd0
|
add some initial info on trips to/from different locations to info panel
|
2019-11-02 16:34:10 -07:00 |
|
Dustin Carlino
|
facd9c68b3
|
remove old gridlock detector, in favor of a tool to find the front of a
chain of blockage
|
2019-11-01 15:31:26 -07:00 |
|
Dustin Carlino
|
d187332734
|
prototype a new challenge to create gridlock
|
2019-11-01 09:59:39 -07:00 |
|
Dustin Carlino
|
abf14e1fac
|
track when map edits are dirty
|
2019-10-31 14:51:35 -07:00 |
|
Dustin Carlino
|
ef01501509
|
overhaul finished trips graph. record times in order, build the graph later
|
2019-10-31 13:46:26 -07:00 |
|
Dustin Carlino
|
1d5064ca1b
|
track all bus arrivals, show distribution. track total number of
passengers per route
|
2019-10-29 22:11:56 -07:00 |
|
Dustin Carlino
|
a5892daedb
|
add a new lane type for road closures
|
2019-10-29 17:04:57 -07:00 |
|
Dustin Carlino
|
75e155fec6
|
filter out parking lanes without any sidewalks at all nearby (and also
warn about them)
|
2019-10-26 17:53:09 -07:00 |
|
Dustin Carlino
|
ee02ff9944
|
display when a bus last served a stop. move some of these analytics to
be owned by sim
|
2019-10-26 12:33:00 -07:00 |
|
Dustin Carlino
|
1e903c6cee
|
pass a flag to disable using mapfixes, since it's annoying to keep temporarily deleting these
|
2019-10-25 10:09:47 -07:00 |
|
Dustin Carlino
|
2d02f90d9b
|
another easy one -- one phase per road
|
2019-10-22 14:29:58 -07:00 |
|
Dustin Carlino
|
c9db056c3a
|
start representing shared left turn lanes. nothing uses them yet,
just draw them (without the left turn markings)
|
2019-10-21 16:14:16 -07:00 |
|
Dustin Carlino
|
c9a6f0a7d8
|
call out agents that've been blocked in an intersection for a while.
this is basically a fast gridlock detector
|
2019-10-20 12:49:25 -07:00 |
|
Dustin Carlino
|
8c826a870c
|
try waking up people at intersections in waiting-order, for proper fairness
|
2019-10-19 21:41:53 -07:00 |
|
Dustin Carlino
|
d04b6a240e
|
when trip starts from a garage, dont walk down the front path uselessly first
|
2019-10-19 20:18:06 -07:00 |
|
Dustin Carlino
|
f78b11d633
|
(temporarily) filter out driveways too close to either end of the road.
get cars unparking from driveways properly.
|
2019-10-19 19:10:59 -07:00 |
|
Dustin Carlino
|
28bb1ba194
|
interactively spawn a parked car in a garage
|
2019-10-19 17:17:33 -07:00 |
|
Dustin Carlino
|
5b9a8dd914
|
seeding buses more robustly. spot fixes to maps to prevent regressions
|
2019-10-19 16:54:54 -07:00 |
|
Dustin Carlino
|
7020544073
|
show which bus a ped is waiting for
|
2019-10-19 16:00:55 -07:00 |
|
Dustin Carlino
|
f1f951fc1c
|
Revert "distinguish parked cars that have a trip scheduled or not"
This reverts commit dba7ced094 .
Is slow, not so useful. Could implement more intelligently, but not
worthwhile yet.
|
2019-10-19 15:24:40 -07:00 |
|
Dustin Carlino
|
a4b24c2643
|
speed up some stuff indirectly used in bus locations to not be so terrible
|
2019-10-19 15:00:36 -07:00 |
|
Dustin Carlino
|
6989c72aa1
|
show location of all buses serving a route
|
2019-10-19 13:40:24 -07:00 |
|
Dustin Carlino
|
44e74d1ed3
|
trips from border to a bldg make that bldg own the car, so it can be reused. vastly reduces the number of aborted trips in the full montlake run
|
2019-10-18 12:50:48 -07:00 |
|
Dustin Carlino
|
d6a9e0e541
|
just one copy of the code to calculate parked car seeding per bldg, in popdat. remove variant in scenario manager
|
2019-10-18 11:47:03 -07:00 |
|
Dustin Carlino
|
dba7ced094
|
distinguish parked cars that have a trip scheduled or not
|
2019-10-17 14:54:30 -07:00 |
|
Dustin Carlino
|
012d5bdd1d
|
make parking/unparking on offside shift the correct direction.
theoretically also handle unparking from a driveway, but cant test that
easily yet...
|
2019-10-17 14:40:27 -07:00 |
|
Dustin Carlino
|
5e41a607fd
|
adjust starting pos of parked cars going to offside driving lane
|
2019-10-17 14:11:07 -07:00 |
|
Dustin Carlino
|
b28874d5bc
|
find trips using a parked car later
|
2019-10-16 18:54:28 -07:00 |
|
Dustin Carlino
|
03d31477af
|
make sim handle parking lanes on off-side of a oneway. ostensibly.
haven't forced a test case yet
|
2019-10-16 17:55:22 -07:00 |
|
Dustin Carlino
|
f6865fac43
|
Get rid of ID::Trip, not sure why that ever made sense
|
2019-10-14 13:57:37 -07:00 |
|
Dustin Carlino
|
85ff33e72d
|
basic, but working, impl of cars lane-changing opportunistically
|
2019-10-13 14:30:20 -07:00 |
|
Dustin Carlino
|
05b953d639
|
split sim summary onto two nice lines
|
2019-10-11 13:25:41 -07:00 |
|
Dustin Carlino
|
2edb275d3c
|
rename cycle -> phase, match the literature
|
2019-10-09 15:27:25 -07:00 |
|
Dustin Carlino
|
b40b26def8
|
dont draw agents when unzoomed and showing some kind of heatmap
|
2019-10-04 16:07:07 -07:00 |
|
Dustin Carlino
|
1a10e8982a
|
basic heatmap showing busiest roads and intersections. have to revive
Sim Events kind of.
|
2019-10-04 15:33:26 -07:00 |
|
Dustin Carlino
|
a85d7fffcd
|
let yields go at a traffic signal when the priorities are blocked. wake up waiting agents a little more granularly.
|
2019-10-04 11:51:25 -07:00 |
|
Dustin Carlino
|
393eaff249
|
compacting SimOptions and SimFlags
|
2019-10-01 14:22:00 -07:00 |
|
Dustin Carlino
|
6f75cf32eb
|
mvp of graphing finished trips over time
|
2019-10-01 14:09:17 -07:00 |
|
Dustin Carlino
|
3fd73af32b
|
fix edge case crash when spawning agents interactively
|
2019-10-01 12:44:26 -07:00 |
|
Dustin Carlino
|
db4db7e0d9
|
very basic tool to point out intersections with the most contention
|
2019-09-30 11:39:55 -07:00 |
|
Dustin Carlino
|
2e5649bf7e
|
show count of aborted trips in scoreboard too
|
2019-09-29 19:19:51 -07:00 |
|
Dustin Carlino
|
909ce857fb
|
count aborted trips with active agent counter better
|
2019-09-29 14:44:09 -07:00 |
|
Dustin Carlino
|
35892aee61
|
just abort a trip if theres literally no room for a car to park.
|
2019-09-27 14:11:26 -07:00 |
|
Dustin Carlino
|
0ae0a88abb
|
actually, serialize MapFixes as json for now. will switch to binary when this is large later, but for now, this is easier to handle schema changes and debug.
|
2019-09-19 14:39:31 -07:00 |
|
Dustin Carlino
|
3eb9acf0aa
|
plumb parking lane hints around through tags too; simplifies a few places
|
2019-09-19 13:30:07 -07:00 |
|
Dustin Carlino
|
fbb7d8ac96
|
cleaning up CmdArgs usage
|
2019-09-19 10:42:16 -07:00 |
|
Dustin Carlino
|
f18fc72265
|
finish structopt removal
|
2019-09-18 17:29:34 -07:00 |
|
Dustin Carlino
|
0543cb015e
|
fix an awesome parking contention bug
|
2019-09-15 14:10:54 -07:00 |
|
Dustin Carlino
|
72c391fe15
|
clean up stuck/vanish case for drivers, now that parking blackholes have been fixed
|
2019-09-15 13:46:40 -07:00 |
|
Dustin Carlino
|
1f2c4e3797
|
make route viewer also handle mode changes and trips ending
|
2019-09-15 13:07:58 -07:00 |
|
Dustin Carlino
|
8d8237a40e
|
making sure we only consider appropriate lane types for parking searches
|
2019-09-15 10:11:13 -07:00 |
|
Dustin Carlino
|
b757efd644
|
verify vehicles dont wind up on nonsense lane types...
|
2019-09-14 14:10:41 -07:00 |
|
Dustin Carlino
|
fb3e4e5177
|
cancel turn requests when deleting a car forcibly
|
2019-09-08 15:21:15 -07:00 |
|
Dustin Carlino
|
19135c7461
|
debug feature to kill off a stuck car
|
2019-09-07 13:46:47 -07:00 |
|
Dustin Carlino
|
caaf0954ab
|
rename the main editor crate to game -- map editing is just a tiny piece ;)
|
2019-09-07 13:09:09 -07:00 |
|
Dustin Carlino
|
68269530fe
|
refactor intersection type checks
|
2019-09-07 12:34:39 -07:00 |
|
Dustin Carlino
|
219a6feacd
|
rework trip start/end
|
2019-09-07 12:26:00 -07:00 |
|
Dustin Carlino
|
c5fd22ae81
|
refactor sim->editor metadata for unzoomed/zoomed agents
|
2019-09-07 12:01:45 -07:00 |
|
Dustin Carlino
|
8bf4711053
|
abort trips using parked cars if they dont work out
|
2019-09-05 17:37:36 -07:00 |
|
Dustin Carlino
|
36f4ccecb6
|
do the last-minute work of gluing a ped to an available car
|
2019-09-05 13:39:19 -07:00 |
|
Dustin Carlino
|
cf7d847f32
|
some of the plumbing to make psrc trips dynamically use a parked car, when possible. very
complicated impl. should blow up when one of these trips actually
starts.
|
2019-09-05 13:01:46 -07:00 |
|
Dustin Carlino
|
8a05e59865
|
shuffle spots per road, so we dont start with an eerily even line of cars
|
2019-09-05 10:54:19 -07:00 |
|
Dustin Carlino
|
048976a256
|
spawn a specific number of parked cars per bldg for a scenario. dont use
them yet.
|
2019-09-05 09:45:02 -07:00 |
|
Dustin Carlino
|
ccdae6e54b
|
show total parking spots available
|
2019-09-04 14:56:50 -07:00 |
|
Dustin Carlino
|
e35709fc51
|
calculate number of parked cars needed for PSRC trips in a very
primitive way
|
2019-09-04 13:58:48 -07:00 |
|
Dustin Carlino
|
528010f308
|
render cars on driveways a little better
|
2019-09-02 22:34:01 -07:00 |
|
Dustin Carlino
|
6d7d3d4a43
|
warp to car parked in garage, without having to define a DrawCar for it
|
2019-09-02 11:42:29 -07:00 |
|
Dustin Carlino
|
d404d938f6
|
browse cars parked in garage more easily
|
2019-09-02 11:08:01 -07:00 |
|
Dustin Carlino
|
fcc3863dab
|
proper walking connections after parking in a garage, debug support for
cars parked in a bldg
|
2019-09-01 21:25:31 -07:00 |
|
Dustin Carlino
|
814313df98
|
make cars start parking in garages. parking animation is wrong and trip
connections wrong, that'll come next.
|
2019-08-31 12:41:23 -07:00 |
|
Dustin Carlino
|
03b685673b
|
remove two unused deps caught by cargo-udeps
|
2019-08-30 15:06:45 -07:00 |
|
Dustin Carlino
|
abe4d218f0
|
adding new type of ParkingSpot to sim layer. not glued to everything
yet.
|
2019-08-30 14:16:34 -07:00 |
|
Dustin Carlino
|
7fffb8d6e5
|
use modalmenu, not logscroller, for scenario and a/b test info. remove
logscroller from public ezgui api
|
2019-08-24 14:53:26 -07:00 |
|
Dustin Carlino
|
e983e754d2
|
cars and bikes parking werent actually freeing reserved space... doh
|
2019-08-23 16:26:55 -07:00 |
|
Dustin Carlino
|
0451f9919e
|
make time_limited_step snappier, so we block less long when we can't run fast nuff
|
2019-08-23 13:52:21 -07:00 |
|
Dustin Carlino
|
f58519d723
|
dont try to start biking on a blackhole
|
2019-08-23 12:51:43 -07:00 |
|
Dustin Carlino
|
17136509cf
|
the parking redirects dont have to be before the lane... they can also be after. just nearby is the goal. this fixes a few more aborted trips
|
2019-08-23 12:30:25 -07:00 |
|
Dustin Carlino
|
b644f1d86d
|
dont seed parked cars in blackholes
|
2019-08-23 10:06:22 -07:00 |
|
Dustin Carlino
|
9f897ef094
|
removing ezgui inline color parsing. pretty much unused, isn't helping
compile time. also fixing clippy issues
|
2019-08-22 13:38:16 -07:00 |
|
Dustin Carlino
|
bb70594c65
|
be more clear when following an agent and similar fail due to temporary mode-change vs trip being done/aborted
|
2019-08-21 15:20:39 -07:00 |
|
Dustin Carlino
|
f012660da7
|
floodfill and pathfind to a free parking spot, instead of randomly picking one turn at a time
|
2019-08-21 00:01:28 -07:00 |
|
Dustin Carlino
|
f9376cddcb
|
dont leak unfinished trips when things cant spawn
|
2019-08-19 15:05:10 -07:00 |
|
Dustin Carlino
|
f62965b5e2
|
small refactor: rename time param -> now. more clear and will help the Duration / Instant split later.
|
2019-08-19 14:56:07 -07:00 |
|
Dustin Carlino
|
7001139dc0
|
fix div by 0 bug with percent_dist_crossed for empty paths
|
2019-08-19 14:41:56 -07:00 |
|
Dustin Carlino
|
0ba3ab92ed
|
fix very, very, very dumb block-the-box bug. >_<
|
2019-08-19 14:32:15 -07:00 |
|
Dustin Carlino
|
2fe2559f67
|
new colorscheme showing trip time so far
|
2019-08-19 14:14:19 -07:00 |
|