Dustin Carlino
|
5bf4a711b1
|
quick tooltips for simple model
|
2019-02-07 19:23:20 -08:00 |
|
Dustin Carlino
|
0eed17f81c
|
toggle playing forwards or backwards
|
2019-02-07 18:27:12 -08:00 |
|
Dustin Carlino
|
b547db43b6
|
basic impl of crossing entire long lane and waiting at the end
|
2019-02-07 18:11:53 -08:00 |
|
Dustin Carlino
|
409de8ea83
|
smooth out the interval where the collision happens to avoid it. not
sure it looks better.
|
2019-02-07 13:17:19 -08:00 |
|
Dustin Carlino
|
f73978caf1
|
shift back to follow behind the lead car
|
2019-02-07 13:13:37 -08:00 |
|
Dustin Carlino
|
c9c72666fb
|
the car following magic... with some significant hacks.
|
2019-02-07 12:56:08 -08:00 |
|
Dustin Carlino
|
6387853fa0
|
stop recalculating everything constantly
|
2019-02-07 11:09:30 -08:00 |
|
Dustin Carlino
|
6354a09293
|
using interval intersection to correctly find the time and position of a
hit!
|
2019-02-07 10:18:20 -08:00 |
|
Dustin Carlino
|
f6a53797f0
|
manually glueing together some fixed intervals
|
2019-02-06 22:53:43 -08:00 |
|
Dustin Carlino
|
3bf4807364
|
thoughts on a different simulation model and a plugin skeleton to play
with it
|
2019-02-06 19:14:19 -08:00 |
|
Dustin Carlino
|
3ee73668f2
|
just trying to detect the weirdness that is O253. pretty much works.
|
2019-02-06 15:48:33 -08:00 |
|
Dustin Carlino
|
d56f04167b
|
tools to debug individual sidewalk corners. fixed some bugs where
sidewalk corners were incorrectly placed in the first place, causing bad
drawing. bug due to the same naive adjacent road approach
|
2019-02-06 13:58:44 -08:00 |
|
Dustin Carlino
|
b68b3117bc
|
woops, somehow regressed and dropped second_half when finding original hits for adjacent roads
|
2019-02-06 13:21:14 -08:00 |
|
Dustin Carlino
|
579097dbb1
|
fiddling with the event loop. simplified code, but didn't fix issues.
|
2019-02-06 12:58:26 -08:00 |
|
Dustin Carlino
|
260a2bdc3d
|
forming the intersection polygon by the expected adjacency order, not by blindly sorting points by angle from a center. seems to fix some problems in merged mode!
|
2019-02-06 11:49:45 -08:00 |
|
Dustin Carlino
|
904991e8e0
|
sorting roads per intersection by adjacency more carefully for merged
intersections. no real noticeable effect yet.
|
2019-02-06 10:53:30 -08:00 |
|
Dustin Carlino
|
a9b9ae61bb
|
tried tossing intersection endpoints into a convex polygon routine, but
it looks pretty bad. keeping around, but disabled.
|
2019-02-06 10:10:30 -08:00 |
|
Dustin Carlino
|
e1155a1d9c
|
WIP stabilize screenshotting
|
2019-02-05 15:18:02 -08:00 |
|
Dustin Carlino
|
72b39b0401
|
aha, a slight optimization to not call draw() when events happen that aren't even sent to the application
|
2019-02-05 15:10:15 -08:00 |
|
Dustin Carlino
|
40d3c6b0ca
|
count all Prerender uploads, not just the ones that happen in draw()
|
2019-02-05 15:02:10 -08:00 |
|
Dustin Carlino
|
f454c691f0
|
making a profiler to breakdown what parts of sim are slowest
|
2019-02-05 14:04:03 -08:00 |
|
Dustin Carlino
|
6b29a2a38d
|
fixing issues with bikes spawning close to intersections, by making the
bound be really conservative
|
2019-02-05 09:56:07 -08:00 |
|
Dustin Carlino
|
6b3a77c9ec
|
solve the problem with bikes entering too short
|
2019-02-04 21:05:43 -08:00 |
|
Dustin Carlino
|
17a0b57644
|
squeeze in vehicle type to CarID, for debugging convenience
|
2019-02-04 20:26:22 -08:00 |
|
Dustin Carlino
|
acc298a6ab
|
dont spawn under vehicle length... but hmm, seeing another problem. need
easier debugging first.
|
2019-02-04 19:16:17 -08:00 |
|
Dustin Carlino
|
91ae32cd4a
|
dont spawn in front of turning agents
|
2019-02-04 18:32:55 -08:00 |
|
Dustin Carlino
|
84df699927
|
remove hack for cars winding up too close. if this is still happening, let's solve using the Intent stuff in a different way.
|
2019-02-04 15:49:39 -08:00 |
|
Dustin Carlino
|
be1735d715
|
just skip bike trips that are silly loops
|
2019-02-04 15:32:46 -08:00 |
|
Dustin Carlino
|
a0aed4f200
|
fix bugs where cars couldnt loop around to reach a building earlier on
the same lane
|
2019-02-04 14:58:27 -08:00 |
|
Dustin Carlino
|
83c6fbb758
|
woops, fix path trace's end_dist
|
2019-02-04 14:25:10 -08:00 |
|
Dustin Carlino
|
09193d5f51
|
be able to spawn cars from buildings too
|
2019-02-04 13:58:23 -08:00 |
|
Dustin Carlino
|
13698cdb20
|
small fixes... debug buildings, spawn from headless, timer for
instantiating a scenario
|
2019-02-04 11:56:54 -08:00 |
|
Dustin Carlino
|
793410aa16
|
make peds on_exit intersections when they try to chain two turns. ALL
TESTS PASS.
|
2019-02-04 09:14:32 -08:00 |
|
Dustin Carlino
|
177f639f7b
|
make sure bikes can actually start moving
|
2019-02-03 22:38:21 -08:00 |
|
Dustin Carlino
|
2f812e6265
|
correct slight overshooting. investigate a bus reaching a stop with
non-zero speed
|
2019-02-03 18:47:47 -08:00 |
|
Dustin Carlino
|
7b045146da
|
ah, there are speeds low enough to round off to zero distance when applied with the timestep. systematically get rid of EPSILON_SPEED.
|
2019-02-03 18:10:29 -08:00 |
|
Dustin Carlino
|
bfd0465a3d
|
track the intent of chosen acceleration, to see why overshooting is happening
|
2019-02-03 09:41:29 -08:00 |
|
Dustin Carlino
|
fb2bb08f66
|
be able to hide stuff in InitialMap debugger
|
2019-02-02 17:51:49 -08:00 |
|
Dustin Carlino
|
899d876968
|
only reset camera for some initial maps
|
2019-02-02 16:40:12 -08:00 |
|
Dustin Carlino
|
e0fd39bb7c
|
stop requiring hotkeys for TopMenu folders
|
2019-02-02 16:09:30 -08:00 |
|
Dustin Carlino
|
461efe4ef8
|
prerender crosswalks
|
2019-02-02 15:24:54 -08:00 |
|
Dustin Carlino
|
3f4711b13d
|
at last, prerender cars
|
2019-02-02 14:43:24 -08:00 |
|
Dustin Carlino
|
f9ccecad26
|
fix spawning of vehicles on borders
|
2019-02-02 14:25:50 -08:00 |
|
Dustin Carlino
|
e330061b91
|
undo rendering hacks for tiny cars at borders, without fixing the spawning problem yet
|
2019-02-02 14:16:15 -08:00 |
|
Dustin Carlino
|
5a4a6bddf2
|
prerender bikes
|
2019-02-02 14:03:00 -08:00 |
|
Dustin Carlino
|
d08751fb64
|
preupload pedestrian geometry
|
2019-02-02 13:44:27 -08:00 |
|
Dustin Carlino
|
8a7413ac68
|
clean up old traits
|
2019-02-02 12:50:28 -08:00 |
|
Dustin Carlino
|
12540970b3
|
actually, can refactor further by borrowing the AgentCache in the
call-site. doh, that was so simple in hind-sight.
|
2019-02-02 12:47:55 -08:00 |
|
Dustin Carlino
|
61d1d2fe83
|
revamp handling of onscreen stuff. no more callback plumbing, and can
plumb prerender successfully into dynamic stuff. just can't do as much
work directly in DrawMap.
|
2019-02-02 12:32:07 -08:00 |
|
Dustin Carlino
|
bc4ba647bc
|
caching Renderables for agents
|
2019-02-01 15:10:35 -08:00 |
|