Dustin Carlino
|
314489c63f
|
overhaul unzoomed agent rendering -- just colored circles
|
2019-06-01 10:13:17 -07:00 |
|
Dustin Carlino
|
7a6a68c292
|
stop drawing routes in all trip viz mode. doesnt add anything
|
2019-06-01 08:31:30 -07:00 |
|
Dustin Carlino
|
b47069811e
|
TRY to adjust departure time and such for trips starting/ending at the border
|
2019-05-31 15:41:38 -07:00 |
|
Dustin Carlino
|
97fe81d271
|
VERY fast clip_trips: parallelism, faster distance function, don't
constantly recalculate pts
|
2019-05-31 14:43:15 -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
|
29473d00db
|
fix trip spawning and pathfinding when borders involved
|
2019-05-31 13:30:22 -07:00 |
|
Dustin Carlino
|
8b4ed47cc4
|
display the OOB pt for border trips, for sanity
|
2019-05-31 13:12:03 -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
|
8291f7c942
|
autoplay controls for all-trip viz. copied from sandbox, hoping to refactor next.
|
2019-05-30 15:55:00 -07:00 |
|
Dustin Carlino
|
0c4399e683
|
use mem::replace, not clone, for swapping TimeTravel states
|
2019-05-30 15:34:33 -07:00 |
|
Dustin Carlino
|
53addc79b9
|
use ItemSlider for time travel
|
2019-05-30 15:20:43 -07:00 |
|
Dustin Carlino
|
602a936440
|
using nom to create Text with inline colors. just using in a few places;
still buggy and kind of inconvenient actually.
|
2019-05-30 14:14:38 -07:00 |
|
Dustin Carlino
|
dd9e187db6
|
simple, but seemingly effective remediation for polylines exploding out
to infinity...
|
2019-05-29 15:48:33 -07:00 |
|
Dustin Carlino
|
9faa2bf143
|
using MultiKey a bit more consistently
|
2019-05-29 14:13:46 -07:00 |
|
Dustin Carlino
|
53e2c3e905
|
hack in a way to easily check for ctrl+key. use to jump between
sandbox, debug, and edit modes
|
2019-05-29 14:08:59 -07:00 |
|
Dustin Carlino
|
35b3e4b7be
|
round of clippy / unbreaking the build
|
2019-05-29 13:01:33 -07:00 |
|
Dustin Carlino
|
17b31582cb
|
delete ModalMenu::hacky_new
|
2019-05-29 11:34:53 -07:00 |
|
Dustin Carlino
|
cce1b6ff88
|
making an ItemSlider to handle the common case of scrolling through items
|
2019-05-29 11:31:01 -07:00 |
|
Dustin Carlino
|
110140f391
|
union make_arrow polygon
|
2019-05-28 18:05:10 -07:00 |
|
Dustin Carlino
|
f2f16ad992
|
make slider just operate on percentages. use for scrolling time in all trip viz
|
2019-05-28 14:56:09 -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
|
28b2734d59
|
starting a slider widget, using in easy places where the range is usize
|
2019-05-28 12:13:22 -07:00 |
|
Dustin Carlino
|
83f62631e9
|
fix cases where path.trace doubles back on itself a bit due to slightly
weird walking geometry
|
2019-05-28 10:19:49 -07:00 |
|
Dustin Carlino
|
72ac85f540
|
stability round: loading ballard broke, spawning PSRC trips in most maps hit little bugs
|
2019-05-27 10:45:53 -07:00 |
|
Dustin Carlino
|
0e298c756f
|
make it a bit easier to jump to the time when trips are actually
starting. and prepping popdat for release
|
2019-05-26 21:31:44 -07:00 |
|
Dustin Carlino
|
40efcc7b05
|
generalize a parallelize method for timers, use for all trip viz
|
2019-05-25 19:35:35 -07:00 |
|
Dustin Carlino
|
bc69a6b4d4
|
spawn as many trips from PSRC as possible
|
2019-05-25 18:34:50 -07:00 |
|
Dustin Carlino
|
ef60359cc8
|
spawn trips from data. not working yet; hitting a problem with
sidewalk->bike lane on oneways
|
2019-05-25 18:22:07 -07:00 |
|
Dustin Carlino
|
01a4abb64a
|
work around path traces that're breaking PolyLine
|
2019-05-25 13:33:41 -07:00 |
|
Dustin Carlino
|
1cdbe0ea81
|
refactor parallelized pathfinding and use it in trip viz too
|
2019-05-24 12:50:01 -07:00 |
|
Dustin Carlino
|
f674527ef2
|
interpolate along route for trip viz
|
2019-05-24 12:28:57 -07:00 |
|
Dustin Carlino
|
416d0b0d7d
|
building PathRequest for trip visualization, and slightly refactoring bldg->Position for it. also forced to extend the equiv_pos fix for bus stops to all equiv_pos queries.
|
2019-05-24 11:47:01 -07:00 |
|
Dustin Carlino
|
8d7ec9d533
|
start a tool to visualize all trips over time
|
2019-05-23 17:39:29 -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
|
e597c8e0bc
|
match src/dst to a building
|
2019-05-23 15:02:04 -07:00 |
|
Dustin Carlino
|
3a363c89b4
|
starting a simple explorer for the trips data
|
2019-05-23 14:49:35 -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
|
788cd237a8
|
upload traffic signal Drawable once per state change
|
2019-05-23 11:31:28 -07:00 |
|
Dustin Carlino
|
d2dc7e52eb
|
draw the traffic signal diagram on the left. stop caring where the
bottom left of a modalmenu is
|
2019-05-21 14:13:48 -07:00 |
|
Dustin Carlino
|
7ba6cd32b4
|
control to reset traffic signal to original
|
2019-05-21 13:45:48 -07:00 |
|
Dustin Carlino
|
219a7b3236
|
refactoring list of signal policies
|
2019-05-21 13:26:39 -07:00 |
|
Dustin Carlino
|
6b5945aade
|
put traffic signal box in the true middle of the intersection; it was in a bad spot for one-ways
|
2019-05-21 13:13:24 -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
|
0f88e67a01
|
error bars too
|
2019-05-20 15:06:04 -07:00 |
|
Dustin Carlino
|
3a625f9a32
|
print percentages and number of samples in bar chart
|
2019-05-20 14:57:17 -07:00 |
|
Dustin Carlino
|
253127fd19
|
use colorbrewer for nice related colors
|
2019-05-20 12:26:33 -07:00 |
|
Dustin Carlino
|
09493f9b7b
|
remove old color shifting
|
2019-05-20 11:58:35 -07:00 |
|
Dustin Carlino
|
381883b357
|
display the stats with simple bar charts
|
2019-05-20 11:56:00 -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
|
6f2b907927
|
count the buildings and parking spots in each tract
|
2019-05-20 10:05:06 -07:00 |
|
Dustin Carlino
|
083b96f0e7
|
mouseover tracts
|
2019-05-20 09:47:27 -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
|
21520c6afa
|
also mouseover KML shapes in debug mode when unzoomed
|
2019-05-19 15:01:40 -07:00 |
|
Dustin Carlino
|
6734e57ab1
|
dont suppress traffic signal details when hovering on parking lane
|
2019-05-19 14:51:07 -07:00 |
|
Dustin Carlino
|
71e1fe6a58
|
inline crosswalks into stop sign and border drawing
|
2019-05-19 14:44:03 -07:00 |
|
Dustin Carlino
|
c728210b2d
|
render selected turn icons better, just highlighting the circle
|
2019-05-19 13:28:43 -07:00 |
|
Dustin Carlino
|
e6a3b02689
|
make stop sign editor use stop signs on the side of the road for
controls
|
2019-05-19 12:45:12 -07:00 |
|
Dustin Carlino
|
7760d42d4a
|
recompute DrawIntersection after editing stop signs
|
2019-05-19 12:11:25 -07:00 |
|
Dustin Carlino
|
c9f5b92496
|
much simpler idea for intersection geom -- just extend the last line of all incoming roads
|
2019-05-18 12:32:25 -07:00 |
|
Dustin Carlino
|
ebc8bafab1
|
using adjacent roads to glue together polylines
|
2019-05-17 16:28:05 -07:00 |
|
Dustin Carlino
|
4c1e9b41c1
|
experimentally try finding intersection polygon by naively intersecting thick road polygons.
|
2019-05-17 15:48:21 -07:00 |
|
Dustin Carlino
|
de51b1c154
|
simplify some render/ code by using GeomBatch
|
2019-05-17 13:14:58 -07:00 |
|
Dustin Carlino
|
222ddf6a96
|
use Distance, not f64, for some params in geom/ layer, simplifying other code
|
2019-05-17 12:42:36 -07:00 |
|
Dustin Carlino
|
c29039c499
|
policies for four-ways all one-ways
|
2019-05-17 12:00:29 -07:00 |
|
Dustin Carlino
|
dec8d65776
|
better traffic light policy for degenerate intersections
|
2019-05-17 10:31:51 -07:00 |
|
Dustin Carlino
|
808d4b2718
|
batch turn icon drawing in editors
|
2019-05-16 19:25:33 -07:00 |
|
Dustin Carlino
|
ec015624c0
|
workaround for awful intersection geometry causing get_outline's that
explode out to some corner and get constantly rendered
|
2019-05-16 18:49:47 -07:00 |
|
Dustin Carlino
|
db04553626
|
batch traffic signal drawing
|
2019-05-16 17:55:26 -07:00 |
|
Dustin Carlino
|
88856c50ce
|
nice OSD name for intersections
|
2019-05-16 14:54:18 -07:00 |
|
Dustin Carlino
|
b6cdd0f99c
|
fix crosswalk coupling in intersection editors, not sure when this broke
|
2019-05-16 14:46:00 -07:00 |
|
Dustin Carlino
|
113aa99b47
|
show signal yield turns as outlines, not dashes
|
2019-05-15 15:00:38 -07:00 |
|
Dustin Carlino
|
bb2ce2c2f5
|
only mouseover areas in unzoomed debug mode
|
2019-05-15 14:28:35 -07:00 |
|
Dustin Carlino
|
d516985437
|
use different colors for unzoomed roads to show road type
|
2019-05-15 14:23:39 -07:00 |
|
Dustin Carlino
|
bb4d593c46
|
turn arrows for bikes too
|
2019-05-15 13:16:52 -07:00 |
|
Dustin Carlino
|
d3f866a82a
|
draw exact arrows for car blinkers
|
2019-05-15 12:31:08 -07:00 |
|
Dustin Carlino
|
a08f90def8
|
always draw car blinkers, maybe in an inactive color
|
2019-05-15 12:21:51 -07:00 |
|
Dustin Carlino
|
f7c59e710d
|
get rid of blinking turn signals. dont be in Animation mode constantly. doesnt look that great and really burns CPU.
|
2019-05-15 11:56:12 -07:00 |
|
Dustin Carlino
|
faea2e94e3
|
improve LCing turns with degenerate intersections, turn markings
|
2019-05-14 10:28:22 -07:00 |
|
Dustin Carlino
|
73aab37fc7
|
explicitly represent StraightWithLaneChanging turns. fix up preset
stop sign and traffic signal policies
|
2019-05-13 16:58:02 -07:00 |
|
Dustin Carlino
|
9252dbd14b
|
traffic signal boxes have 3 circles, more recognizable
|
2019-05-13 14:46:50 -07:00 |
|
Dustin Carlino
|
3ab012906f
|
draw stop signs to the right of the road... initial version with lots of
problems, but looks OK. removing stop lines on lanes.
|
2019-05-13 14:02:47 -07:00 |
|
Dustin Carlino
|
f4620c1951
|
add basic hatching support to fragment shader. use it to visualize map
edits when zoomed in
|
2019-05-12 17:59:12 -07:00 |
|
Dustin Carlino
|
ba71d2d5e6
|
dont be so confusing with CarAppearing in interactive commands -- dont retry if there's not room
|
2019-05-12 15:06:12 -07:00 |
|
Dustin Carlino
|
aa7bd11797
|
tweak edit mode's menu info
|
2019-05-11 16:53:30 -07:00 |
|
Dustin Carlino
|
4dcdbf0593
|
show time left for traffic signals
|
2019-05-11 16:45:24 -07:00 |
|
Dustin Carlino
|
06aa3e7cb3
|
woops, broke drawing agents in intersections in 3501c0ab4f
|
2019-05-11 16:14:45 -07:00 |
|
Dustin Carlino
|
9b848c894a
|
better selection polygons for polyline-based things
|
2019-05-11 16:03:39 -07:00 |
|
Dustin Carlino
|
2454704b6b
|
better selection polygons... at least for intersections and buildings
|
2019-05-11 15:12:12 -07:00 |
|
Dustin Carlino
|
5c9086a829
|
controls to naively flip stop signs on/off
|
2019-05-11 14:53:17 -07:00 |
|
Dustin Carlino
|
ca23950097
|
base RoadWithStopSign enabledness on turn priorities
|
2019-05-11 14:46:45 -07:00 |
|
Dustin Carlino
|
6b218fb5ab
|
base stop sign lines on lanes on RoadWithStopSign
|
2019-05-11 14:38:55 -07:00 |
|
Dustin Carlino
|
c70c83f22b
|
move the StopSignGroup abstraction to map_model. write down some rules for how stop signs _should_ work...
|
2019-05-11 14:31:46 -07:00 |
|
Dustin Carlino
|
a5505cca17
|
no reason for DrawTurn to implement Renderable. simplify its API.
|
2019-05-11 13:51:39 -07:00 |
|
Dustin Carlino
|
b7daea7fb4
|
make OSD work for intersection editors
|
2019-05-11 13:37:48 -07:00 |
|
Dustin Carlino
|
3501c0ab4f
|
dont handle turn icons in UI by default; make the two editors explicitly do mouseover and draw them
|
2019-05-11 11:51:16 -07:00 |
|