Commit Graph

43 Commits

Author SHA1 Message Date
Dustin Carlino
8d32671834 dont spawn buses by default in scenarios 2019-11-04 09:59:52 -08:00
Dustin Carlino
1a4cf8c1a0 fix crash in all trip viz. path request might not even be possible 2019-10-26 10:29:44 -07:00
Dustin Carlino
299b5bb77f remove old functionality for creating only partial PSRC scenarios.
rename the main scenario to be much more enticing
2019-10-23 08:04:55 -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
85ff33e72d basic, but working, impl of cars lane-changing opportunistically 2019-10-13 14:30:20 -07:00
Dustin Carlino
ad67027250 tweak psrc scenario name, so savestates are easier to use on the CLI 2019-09-28 16:39:44 -07:00
Dustin Carlino
80106eb3d5 script psrc import 2019-09-28 10:44:46 -07:00
Dustin Carlino
fbb7d8ac96 cleaning up CmdArgs usage 2019-09-19 10:42:16 -07:00
Dustin Carlino
62d1777433 getting rid of structopt in more crates 2019-09-18 16:50:32 -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
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
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
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
040c10ed0c scraping off-street parking info from psrc. it doesn't seem too
meaningful anywhere, though...
2019-08-24 14:36:23 -07:00
Dustin Carlino
f8aaf4d7bf using dyn explicitly, per rust 1.37 deprecation warning 2019-08-22 15:05:17 -07:00
Dustin Carlino
509936cd43 clip_trips breaking on some huge_seattle border intersections; just omit them 2019-08-19 12:29:20 -07:00
Dustin Carlino
4e83f492d8 upgrade rand, get rid of now unneeded serde1 feature, in hopes of fixing feature mismatch between deps 2019-08-15 12:14:35 -07:00
Dustin Carlino
77c01580f1 refactoring path references... 2019-08-04 17:11:33 -07:00
Dustin Carlino
44cedeefab moving psrc->scenario code to popdat crate 2019-08-04 15:03:50 -07:00
Dustin Carlino
4e2d16af29 consistently using file extensions of .json and .bin, merging duplicate abstutil io functions accordingly 2019-06-11 14:30:11 -07:00
Dustin Carlino
c3a89cd651 read in more metadata about parcels/households from PSRC 2019-06-10 10:37:53 -07:00
Dustin Carlino
0c6a93d38f introducing a basic slider to adjust speed of all route viz player and
sim. code duplication.
2019-06-04 14:22:11 -07:00
Dustin Carlino
70a698236b more quietly filter out pass-through trips in popdat bin. move trips
code in editor into its own module
2019-05-31 14:03:08 -07:00
Dustin Carlino
142f84a232 display passengers on a bus in debug mode. also sort PSRC trips by
departure time to make later viz a little easier to follow
2019-05-31 13:52:14 -07:00
Dustin Carlino
a9319dbe6a capture PSRC trips that start/end out-of-bounds, matching them to a border. slow and buggy start! 2019-05-31 11:37:25 -07:00
Dustin Carlino
35b3e4b7be round of clippy / unbreaking the build 2019-05-29 13:01:33 -07:00
Dustin Carlino
b9a8ea6c61 interpret PSRC transit trips correctly 2019-05-28 13:28:35 -07:00
Dustin Carlino
ea49fe63ba match PSRC trips to OSM building IDs up-front, trimming down filesize and speeding up clipping later 2019-05-28 13:04:31 -07:00
Dustin Carlino
01a4abb64a work around path traces that're breaking PolyLine 2019-05-25 13:33:41 -07:00
Dustin Carlino
8d7ec9d533 start a tool to visualize all trips over time 2019-05-23 17:39:29 -07:00
Dustin Carlino
7b4b0b20b7 use a skip_fail macro in loops 2019-05-23 16:26:22 -07:00
Dustin Carlino
dad1c170ed squish down the popdat output by using enums for purpose 2019-05-23 16:15:42 -07:00
Dustin Carlino
42c021c8df glue timers to psrc input stuff 2019-05-23 16:04:46 -07:00
Dustin Carlino
a6ecda2d07 also scrape trip time and distance, for sanity checks 2019-05-23 15:47:45 -07:00
Dustin Carlino
73b751d46c also scrape trip purpose 2019-05-23 15:29:32 -07:00
Dustin Carlino
f01173ec50 export some trips in PopDat, start reading them in and filtering 2019-05-23 14:34:47 -07:00
Dustin Carlino
a069380439 importing basic info from PSRC trips 2019-05-23 14:20:27 -07:00
Dustin Carlino
0569dd4abd reading the PSRC parcels file, converting coordinates 2019-05-23 13:58:15 -07:00
Dustin Carlino
28eb670bf9 also display estimated total number of cars in the tract 2019-05-20 15:14:22 -07:00
Dustin Carlino
dd3d670cdd display table of data for a tract. group all the measurements to bundle
error
2019-05-20 10:47:26 -07:00
Dustin Carlino
8d2e3b0623 census tracts are the same between datasets, so group the data better 2019-05-20 09:33:20 -07:00
Dustin Carlino
dfdc6804e5 very barebones mode to explore the popdat 2019-05-20 09:12:57 -07:00
Dustin Carlino
3663c19cdc starting a new crate to import extra population data 2019-05-20 07:48:30 -07:00