Commit Graph

2504 Commits

Author SHA1 Message Date
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
5e78a58f64 show colored bldgs unzoomed too for scenario viz 2019-09-05 11:36:32 -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
c267b27fa0 a smarter variation on parked cars needed per bldg 2019-09-05 08:26:32 -07:00
Dustin Carlino
ccdae6e54b show total parking spots available 2019-09-04 14:56:50 -07:00
Dustin Carlino
e1d2137295 point out buildings with trips from/to 2019-09-04 14:46:14 -07:00
Dustin Carlino
1040dabe5d add common controls to scenario explorer 2019-09-04 14:38:15 -07:00
Dustin Carlino
c0f7fda1b6 be able to warp back in general 2019-09-04 14:26:55 -07:00
Dustin Carlino
cfc0e2bbf6 jump from bldg's trip table to the other endpt 2019-09-04 14:11:46 -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
edb85da4c4 dont connect driveway to SR-99, yo 2019-09-02 22:57:44 -07:00
Dustin Carlino
528010f308 render cars on driveways a little better 2019-09-02 22:34:01 -07:00
Dustin Carlino
1910d06bc7 infer clipping polygon from entire .osm if no polygon is specified 2019-09-02 12:37:40 -07:00
Dustin Carlino
3fd59ebdb5 fix #2 - better error for clipping polygon that doesnt match osm 2019-09-02 11:53:54 -07:00
Dustin Carlino
42a043bc89 reset sim after editing lanes, to make sure parking state is correct 2019-09-02 11:46:32 -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
e17e77c32c
Merge pull request #1 from Fullstop000/fix_docs
Correct the work flow
2019-08-30 12:38:56 -07:00
Dustin Carlino
ba2b5fc831 compute and render driveway lines 2019-08-30 12:38:07 -07:00
Hetian Zhu
0ca127f087
Update new_city.md 2019-08-30 17:45:13 +08:00
Dustin Carlino
3b9da91d58 render static parking icons on buildings 2019-08-29 08:36:05 -07:00
Dustin Carlino
ea9d01bcc1 set a modal menu's prompt just once in a few places, where that's more
convenient
2019-08-27 14:56:43 -07:00
Dustin Carlino
923adbf8b5 new release 2019-08-26 17:59:10 -07:00
Dustin Carlino
408078247c fix fix_map_geom. the grand raw_data simplification is now over! 2019-08-26 17:40:10 -07:00
Dustin Carlino
636e6328cb fix up synthetic's boundary_polygon, and remove more dead geom code 2019-08-26 16:04:26 -07:00
Dustin Carlino
0a39f4bd77 get rid of the coordinates_in_world_space hack; synthetic can just directly work in Pt2Ds now 2019-08-26 15:57:28 -07:00
Dustin Carlino
a5fc3b092f simplify dataflow a bit in convert_osm 2019-08-26 15:45:28 -07:00
Dustin Carlino
ead5593448 work around overlapping offstreet parking hints, so that all maps can be fully reconverted 2019-08-26 14:56:55 -07:00
Dustin Carlino
9fac44e28b fix roundabout handling. clearing out hints, because many no longer
apply with the back-and-forth gps/pt2d stuff... reasonable to reset
efforts anyway, now that I'm considering patching in OSM edits instead
2019-08-26 14:40:47 -07:00
Dustin Carlino
c545e5d86e some bug with previous commit messing up roundabout handling... quick detour to only have HashablePt2D for Pt2D, never for LonLat 2019-08-26 14:10:34 -07:00
Dustin Carlino
114a76893a now raw_data::Road 2019-08-26 13:59:10 -07:00
Dustin Carlino
9156cbd434 raw_data::Intersection too 2019-08-26 11:18:39 -07:00
Dustin Carlino
ce4369be27 raw_data::Building too 2019-08-26 10:36:00 -07:00
Dustin Carlino
6af2c5c0e0 raw_data::Area up-front stores a Polygon 2019-08-25 19:28:59 -07:00
Dustin Carlino
29eb463a6f base gps_bounds off of boundary polygon only. temporarily allow some out-of-bound coordinates, and deal with them during clipping. this means the osmosis boundary polygon is required. 2019-08-25 19:07:12 -07:00
Dustin Carlino
2b9ce7fef1 nit: why did FrontPath need a reference to the bldg? never passing it around in isolation. also update map article for parking blackholes 2019-08-25 14:57:04 -07:00
Dustin Carlino
1936f5f75e match offstreet parking KML to buildings 2019-08-25 14:00:25 -07:00
Dustin Carlino
8aee410046 download offstreet parking dataset, tweak KML debug rendering 2019-08-24 19:01:37 -07:00
Dustin Carlino
1cf57009d1 in scenario manager, also show all trips starting/ending at a bldg 2019-08-24 16:04:29 -07:00
Dustin Carlino
c31e1440d1 in scenario manager, show number of trips starting and ending at a particular building 2019-08-24 14:55:07 -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
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
e983e754d2 cars and bikes parking werent actually freeing reserved space... doh 2019-08-23 16:26:55 -07:00