Dustin Carlino
|
f36c94c730
|
render individual points from extra KML, and refactor some circle helpers
|
2018-08-23 15:17:37 -07:00 |
|
Dustin Carlino
|
7745678794
|
make the spawner deal with trips and transitions... big revamp for it
|
2018-08-23 10:11:56 -07:00 |
|
Dustin Carlino
|
7b28b8c988
|
make peds actually walk from bldg to sidewalk when starting
|
2018-08-22 14:03:08 -07:00 |
|
Dustin Carlino
|
3fba70a9a9
|
make pedestrians start aligned with building paths. almost ready to make
them travel along the front path
|
2018-08-22 13:43:11 -07:00 |
|
Dustin Carlino
|
82952ef198
|
remembering where the front path hits the sidewalk
|
2018-08-22 12:21:58 -07:00 |
|
Dustin Carlino
|
a2399f6613
|
trimming front paths to building edges
|
2018-08-22 11:54:18 -07:00 |
|
Dustin Carlino
|
00056e6e81
|
require a front path for buildings, by ignoring street names
|
2018-08-22 11:33:29 -07:00 |
|
Dustin Carlino
|
cca0915ff3
|
can only park next to an adjacent lane
|
2018-08-22 09:47:46 -07:00 |
|
Dustin Carlino
|
bf52822e37
|
wrote a few tests of parking
|
2018-08-19 18:07:28 -07:00 |
|
Dustin Carlino
|
8bf2b67e10
|
fixing a few bugs causing bigger maps to not load at all
|
2018-08-17 10:54:44 -07:00 |
|
Dustin Carlino
|
511aab4483
|
representing departing vehicles
|
2018-08-15 11:53:04 -07:00 |
|
Dustin Carlino
|
d3611c6084
|
easier queries for lane type
|
2018-08-14 21:25:19 -07:00 |
|
Dustin Carlino
|
1720e51828
|
WIP start a specific parked car, not the last one in the lane. broken,
because multiple cars jump to the beginning of the driving lane. need to
make them start in the right position (and then go there slowly)
|
2018-08-14 21:13:05 -07:00 |
|
Dustin Carlino
|
432c9644fc
|
slightly different speed limits
|
2018-08-09 13:14:30 -07:00 |
|
Dustin Carlino
|
40cb2bf6f4
|
making draw_polygon only accept a geom Polygon. guess ezgui depending on geom is fine.
|
2018-08-09 10:57:19 -07:00 |
|
Dustin Carlino
|
9e2ac24b0c
|
rm unused methods
|
2018-08-09 10:38:11 -07:00 |
|
Dustin Carlino
|
bf2bd09a54
|
WIP converting lanes and draw car to new polygon
|
2018-08-09 10:36:29 -07:00 |
|
Dustin Carlino
|
7b53264bb8
|
WIP debugging bad building polygon drawing
|
2018-08-08 13:21:45 -07:00 |
|
Dustin Carlino
|
4c0a8f588a
|
still debugging various breakages. drawing lane IDs
|
2018-08-07 12:23:00 -07:00 |
|
Dustin Carlino
|
82902199a2
|
moving parcel grouping into convert_osm, which is run with --release anyway
|
2018-08-06 13:10:48 -07:00 |
|
Dustin Carlino
|
e31061860b
|
drawing groups of parcels with different colors. very slow, since it's
done without a quadtree and every load
|
2018-08-06 12:54:56 -07:00 |
|
Dustin Carlino
|
a4b8c2247f
|
debugging for intersections
|
2018-08-01 14:39:38 -07:00 |
|
Dustin Carlino
|
5ad6f53607
|
use new dimensioned version, letting us serialize maps and clean up
hacks elsewhere
|
2018-08-01 14:05:38 -07:00 |
|
Dustin Carlino
|
890f6541af
|
turns between sidewalks were getting conflated after the TurnID change; adding parent intersection fixes it. should fix ped warping problem.
|
2018-08-01 13:31:14 -07:00 |
|
Dustin Carlino
|
473b5bf22e
|
handle missing objects in warp plugin
|
2018-07-31 13:49:04 -07:00 |
|
Dustin Carlino
|
298babc85d
|
parallelizing parked->driving car pathfinding too
|
2018-07-28 11:02:28 -07:00 |
|
Dustin Carlino
|
30eb23816c
|
deduping biking and driving turns, fixing a turn icon offset glitch
|
2018-07-27 11:46:03 -07:00 |
|
Dustin Carlino
|
b6a9e2e1a4
|
dont make u-turns unless really at a dead-end
|
2018-07-26 17:08:50 -07:00 |
|
Dustin Carlino
|
d5f002e35c
|
incoming/outgoing roads made no sense. oops.
|
2018-07-26 13:42:27 -07:00 |
|
Dustin Carlino
|
ab986a3a8a
|
debugging turn-making funkiness
|
2018-07-26 13:18:37 -07:00 |
|
Dustin Carlino
|
d22d955dbb
|
deleting and adding turns when edited
|
2018-07-26 13:06:37 -07:00 |
|
Dustin Carlino
|
7b4df16c8e
|
printing reasons why edits are invalid
|
2018-07-26 12:14:37 -07:00 |
|
Dustin Carlino
|
904aa4449e
|
editing lane types, vastly simplified, no turns yet
|
2018-07-26 12:04:02 -07:00 |
|
Dustin Carlino
|
de54b917bc
|
changing turns to have IDs thatll be stable across edits
|
2018-07-25 19:01:47 -07:00 |
|
Dustin Carlino
|
3e72f39121
|
planning how to do live road edits
|
2018-07-25 18:19:39 -07:00 |
|
Dustin Carlino
|
9200a5ef3d
|
use pretty assertions
|
2018-07-24 16:23:25 -07:00 |
|
Dustin Carlino
|
c321c07bd7
|
make map use road edits when loading from scratch
|
2018-07-24 16:06:25 -07:00 |
|
Dustin Carlino
|
120e7c5db1
|
plumb through UI controls for road edits
|
2018-07-24 15:43:01 -07:00 |
|
Dustin Carlino
|
2ba0647b7c
|
saving and loading road edits in the UI
|
2018-07-24 15:30:40 -07:00 |
|
Dustin Carlino
|
9fbf48c495
|
defining the basic data model for some road edits
|
2018-07-24 12:30:56 -07:00 |
|
Dustin Carlino
|
30b992e7f0
|
wait, make road remember lane types too
|
2018-07-24 11:40:58 -07:00 |
|
Dustin Carlino
|
0bfcae6aa6
|
WIP making intersections know in/out roads too, using for simpler turn-making
|
2018-07-24 11:13:08 -07:00 |
|
Dustin Carlino
|
7d187bcceb
|
ripping out other_side too
|
2018-07-24 10:56:23 -07:00 |
|
Dustin Carlino
|
c04572e4c7
|
dont store siblings anymore, simplify LaneSpec
|
2018-07-24 10:07:31 -07:00 |
|
Dustin Carlino
|
83d5e75e43
|
store children in road, and stop storing some state in lane and query it instead
|
2018-07-24 09:23:23 -07:00 |
|
Dustin Carlino
|
549aa75d9c
|
lifted unshifted pts to road
|
2018-07-24 08:59:01 -07:00 |
|
Dustin Carlino
|
4bf72b36c8
|
removing osm metadata from lanes now
|
2018-07-24 08:18:47 -07:00 |
|
Dustin Carlino
|
62139c1abc
|
introducing road structures, with a copy of OSM metadata
|
2018-07-24 07:39:26 -07:00 |
|
Dustin Carlino
|
cb26955f8e
|
introduce RoadID
|
2018-07-24 07:28:11 -07:00 |
|
Dustin Carlino
|
4207b2cacf
|
rename existing roads to lanes
|
2018-07-23 20:24:53 -07:00 |
|
Dustin Carlino
|
166dd907b1
|
detect bike lanes in OSM
|
2018-07-23 14:12:29 -07:00 |
|
Dustin Carlino
|
52d5c5b69b
|
bike lane turns
|
2018-07-23 14:03:13 -07:00 |
|
Dustin Carlino
|
3017728515
|
introducing bike lanes! no turns yet
|
2018-07-23 10:56:45 -07:00 |
|
Dustin Carlino
|
7ee8ef0d8d
|
cleaning up after polyline trimming
|
2018-07-23 10:05:20 -07:00 |
|
Dustin Carlino
|
342870f6ab
|
seemingly got the polyline trimming working for intersections now \o/
|
2018-07-23 09:53:56 -07:00 |
|
Dustin Carlino
|
a52b966b03
|
make some more pedestrian paths possible by forcing turns even when line trimming fails
|
2018-07-23 08:39:58 -07:00 |
|
Dustin Carlino
|
36bfa9cfdf
|
be able to relate lanes to orig road idx, for debugging
|
2018-07-22 17:18:13 -07:00 |
|
Dustin Carlino
|
5b018fdf06
|
adding tests for map conversion determinism
|
2018-07-22 17:09:12 -07:00 |
|
Dustin Carlino
|
1c85188a64
|
WIP removing disconnected chunks of map. leaves orphaned intersections
still, so disabled.
|
2018-07-22 16:31:31 -07:00 |
|
Dustin Carlino
|
51fa14d934
|
parsing shapefiles again for traffic signals
|
2018-07-20 11:27:57 -07:00 |
|
Dustin Carlino
|
9c21dae3d9
|
making turns for crosswalks. had to rethink how turns work slightly.
|
2018-07-11 12:10:56 -07:00 |
|
Dustin Carlino
|
5ffa4ba7c7
|
centering parked cars in their spots
|
2018-07-09 16:08:23 -07:00 |
|
Dustin Carlino
|
2ebc13140b
|
round of rustfmt after 1.27 upgrade
|
2018-07-09 12:30:59 -07:00 |
|
Dustin Carlino
|
0e6111e86a
|
being able to find sibling lanes
|
2018-07-09 12:30:39 -07:00 |
|
Dustin Carlino
|
ddb30734c6
|
refactoring DrawCar
|
2018-07-09 10:17:20 -07:00 |
|
Dustin Carlino
|
8b908d2744
|
calculating the number of parking spots
|
2018-07-09 09:16:12 -07:00 |
|
Dustin Carlino
|
c033f51da2
|
make cars pathfind to their destination
|
2018-07-08 15:40:39 -07:00 |
|
Dustin Carlino
|
f3f3bfd1e9
|
impl basic A* on roads
|
2018-07-08 14:37:56 -07:00 |
|
Dustin Carlino
|
0e4ff75286
|
setting up an intersection test in experimental
|
2018-07-07 10:48:46 -07:00 |
|
Dustin Carlino
|
dee6c97f4c
|
draw stop sign in intersections too
|
2018-07-04 14:05:21 -07:00 |
|
Dustin Carlino
|
92f8aeff1e
|
drawing a traffic signal, no good colors yet
|
2018-07-04 13:22:15 -07:00 |
|
Dustin Carlino
|
f1024792e4
|
validate geometry doesn't overlap for a rendered map
|
2018-07-03 14:43:53 -07:00 |
|
Dustin Carlino
|
cacf3aea62
|
halve the number of lanes from OSM for two-ways
|
2018-07-03 09:42:17 -07:00 |
|
Dustin Carlino
|
5a6ea9bf7e
|
handle motorways and roads with a known number of driving lanes
|
2018-06-29 11:41:26 -07:00 |
|
Dustin Carlino
|
f9c1b3b526
|
WIP representing polyline shifting failure
|
2018-06-29 11:17:39 -07:00 |
|
Dustin Carlino
|
fe53536024
|
prototyping crosswalks
|
2018-06-29 10:30:36 -07:00 |
|
Dustin Carlino
|
a082fbb511
|
moving stuff to geom crate
|
2018-06-28 20:35:00 -07:00 |
|
Dustin Carlino
|
34e7f11cda
|
get rid of vecmath
|
2018-06-28 19:46:21 -07:00 |
|
Dustin Carlino
|
8e1f9b79f0
|
PolyLine struct
|
2018-06-28 18:02:14 -07:00 |
|
Dustin Carlino
|
7f09f22bcf
|
making a line struct
|
2018-06-28 17:14:27 -07:00 |
|
Dustin Carlino
|
4bdf70365e
|
making my own angle class
|
2018-06-28 15:07:48 -07:00 |
|
Dustin Carlino
|
987f039404
|
LonLat to Pt2D more explicit
|
2018-06-28 14:19:59 -07:00 |
|
Dustin Carlino
|
c7c9fa64df
|
WIP not using ordered float for Pt2D
|
2018-06-28 14:03:35 -07:00 |
|
Dustin Carlino
|
ff526a6854
|
split out HashablePt2D
|
2018-06-28 13:55:43 -07:00 |
|
Dustin Carlino
|
69d6c4ab43
|
organizing map making code a little
|
2018-06-27 13:58:11 -07:00 |
|
Dustin Carlino
|
849a132a6a
|
dashed white lines on big roads
|
2018-06-27 12:48:11 -07:00 |
|
Dustin Carlino
|
5e362cdfc5
|
multiple driving lanes on big roads, and simplifying LaneSpecs
|
2018-06-26 14:46:27 -07:00 |
|
Dustin Carlino
|
02d7053239
|
trying to fix the general case... maybe detecting the problem. giving up
for now.
|
2018-06-26 14:09:53 -07:00 |
|
Dustin Carlino
|
f5fc04a14e
|
WIP debugging bad polygons. seemingly fixed one pt inversion case that
happens only on the first pt.
|
2018-06-26 13:23:56 -07:00 |
|
Dustin Carlino
|
82bac55275
|
use cbor for maps
|
2018-06-26 09:45:01 -07:00 |
|
Dustin Carlino
|
43536743a8
|
warp plugin, and making text entry handle numbers
|
2018-06-26 09:05:14 -07:00 |
|
Dustin Carlino
|
091d1ef98d
|
handle parallel line intersection, which was making bigger maps break
|
2018-06-26 08:36:18 -07:00 |
|
Dustin Carlino
|
8de92c095a
|
OSM tags as a hash, now that serialization is easy
|
2018-06-26 07:35:34 -07:00 |
|
Dustin Carlino
|
bc92c3ca8d
|
replacing the pb with serde stuff
|
2018-06-25 18:56:57 -07:00 |
|
Dustin Carlino
|
fcec05cdfa
|
rm old thick line stuff at last
|
2018-06-25 16:16:40 -07:00 |
|
Dustin Carlino
|
afeaed1065
|
fix length fxn
|
2018-06-25 15:45:17 -07:00 |
|
Dustin Carlino
|
e1e3abbb28
|
fixed turns that vanished
|
2018-06-25 15:42:04 -07:00 |
|
Dustin Carlino
|
5a9bc56c32
|
center lines are finally gone
|
2018-06-25 15:34:21 -07:00 |
|
Dustin Carlino
|
0fa7fc25d4
|
use center pts in more places...
|
2018-06-25 15:23:15 -07:00 |
|
Dustin Carlino
|
ebbdc82f14
|
trim back center pts, not center lines
|
2018-06-25 14:55:09 -07:00 |
|
Dustin Carlino
|
729ad9df24
|
plumb in new lane center pts, and use them for rendering always. looks OK...
|
2018-06-25 14:50:18 -07:00 |
|
Dustin Carlino
|
571673b02f
|
figuring out where polygons go wrong...
|
2018-06-25 14:41:00 -07:00 |
|
Dustin Carlino
|
9133f7edc1
|
split lane profiles into a fxn
|
2018-06-25 14:33:03 -07:00 |
|
Dustin Carlino
|
94e8f7a4bf
|
switch to new polygons for cars. seems to work.
|
2018-06-25 14:01:55 -07:00 |
|
Dustin Carlino
|
7c747ea9ee
|
working on calculating start/end crossings explicitly
|
2018-06-25 13:48:30 -07:00 |
|
Dustin Carlino
|
fef18fbf2f
|
use new polygons for parcels...
|
2018-06-25 13:29:31 -07:00 |
|
Dustin Carlino
|
e2dda62175
|
bam, line trimming... kind of works
|
2018-06-25 13:19:01 -07:00 |
|
Dustin Carlino
|
dfdd717c29
|
use shifted points for polygon, all using the old polyline stuff...
|
2018-06-25 13:17:28 -07:00 |
|
Dustin Carlino
|
6cad6c7394
|
working on the line trimming logic. seems to do something?
|
2018-06-25 13:11:55 -07:00 |
|
Dustin Carlino
|
2451244344
|
splitting out a mapmaking fxn
|
2018-06-25 12:03:34 -07:00 |
|
Dustin Carlino
|
6afb71ea5f
|
preps for line trimming
|
2018-06-25 11:54:15 -07:00 |
|
Dustin Carlino
|
f9db14fed7
|
slightly less chaos in the roundabout
|
2018-06-25 11:19:08 -07:00 |
|
Dustin Carlino
|
427bdf3f34
|
compute front path upfront
|
2018-06-25 11:16:33 -07:00 |
|
Dustin Carlino
|
8e1af1f4ea
|
store graph connections more sanely
|
2018-06-25 10:28:33 -07:00 |
|
Dustin Carlino
|
06b28f2d2d
|
finishing screenspace translation of roads and intersections
|
2018-06-25 10:13:02 -07:00 |
|
Dustin Carlino
|
1242ec5297
|
WIP transforming gps to screen space earlier
|
2018-06-25 09:40:37 -07:00 |
|
Dustin Carlino
|
ba310cbd45
|
removing geom crate, using just map model
|
2018-06-25 09:00:43 -07:00 |
|
Dustin Carlino
|
4489abd301
|
same for GeomTurn
|
2018-06-25 08:37:32 -07:00 |
|
Dustin Carlino
|
a8532fe210
|
copying GeomRoad stuff in, calling it, not using it
|
2018-06-25 08:33:56 -07:00 |
|
Dustin Carlino
|
35e3f9807d
|
compute gps bounds up front, to prep for geom merging
|
2018-06-25 08:17:12 -07:00 |
|
Dustin Carlino
|
d9e46c5960
|
splitting map model into more modules
|
2018-06-25 08:08:38 -07:00 |
|
Dustin Carlino
|
2b9eb66ba1
|
moving polyline to map_model, using pt2d
|
2018-06-24 17:01:40 -07:00 |
|
Dustin Carlino
|
c2473828a6
|
finding paths between buildings and nearest sidewalk
|
2018-06-20 17:29:04 -07:00 |
|
Dustin Carlino
|
3838a1c4ac
|
extra lanes on one-ways
|
2018-06-19 13:39:10 -07:00 |
|
Dustin Carlino
|
52b8570e6c
|
sidewalks for two-ways
|
2018-06-19 10:10:30 -07:00 |
|
Dustin Carlino
|
854eee4fd0
|
rendering parking lanes for two-ways...
|
2018-06-19 09:54:21 -07:00 |
|
Dustin Carlino
|
55fea2d5a7
|
moving to new way of generating lanes from osm ways
|
2018-06-19 09:29:58 -07:00 |
|
Dustin Carlino
|
ef78902f9a
|
slowly moving away from depending on other_side in Road, and declaring LaneType stuff
|
2018-06-19 09:03:26 -07:00 |
|
Dustin Carlino
|
91920c3e1d
|
dont reach into DrawRoad's polygon directly from DrawIntersection
|
2018-06-18 14:46:11 -07:00 |
|
Dustin Carlino
|
923883883b
|
updating README and trimming license declarations
|
2018-06-03 17:56:53 -07:00 |
|
Dustin Carlino
|
f2b7344940
|
using new rust 1.26 match stuff, and fmt
|
2018-05-10 16:19:26 -07:00 |
|
Dustin Carlino
|
065c2ce9ba
|
Importing everything since the initial import
|
2018-04-10 17:51:37 -07:00 |
|
Dustin Carlino
|
1863289f6d
|
Initial import of A/B Street prototype.
|
2018-03-13 08:06:03 -07:00 |
|