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
|
f6a302efb9
|
start parked car at the appropriate distance
|
2018-08-14 21:17:20 -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
|
6d70605355
|
unit test that a sim finishes eventually
|
2018-08-09 12:53:12 -07:00 |
|
Dustin Carlino
|
44239588c8
|
debugging why a car doesnt see an agent to not hit... oh, wasn't
factoring in FOLLOW_DIST
|
2018-08-09 12:23:26 -07:00 |
|
Dustin Carlino
|
850df3de4e
|
fix a bug with stop signs that probably didnt even happen
|
2018-08-09 12:04:55 -07:00 |
|
Dustin Carlino
|
6c6dbee529
|
WIP ignore constraints on the current lane if our lookahead dist doesnt even hit them
|
2018-08-09 12:00:37 -07:00 |
|
Dustin Carlino
|
0fe6507a5c
|
oops, never actually capped acceleration of cars...
|
2018-08-09 11:28:10 -07:00 |
|
Dustin Carlino
|
3e9a2db0bd
|
flag to tell headless to savestate
|
2018-08-09 11:16:51 -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
|
0caa8969dd
|
fix contains_pt signature
|
2018-08-09 10:49:26 -07:00 |
|
Dustin Carlino
|
bf2bd09a54
|
WIP converting lanes and draw car to new polygon
|
2018-08-09 10:36:29 -07:00 |
|
Dustin Carlino
|
c77415164e
|
count the peds moving/waiting too
|
2018-08-08 12:47:57 -07:00 |
|
Dustin Carlino
|
ccbf5939d8
|
waiting_for for new driving model
|
2018-08-08 12:43:47 -07:00 |
|
Dustin Carlino
|
8d82148342
|
fix bug with somebody holding a lock on a turn
|
2018-08-08 12:26:46 -07:00 |
|
Dustin Carlino
|
449085f02f
|
stop sign should only admit leader vehicles
|
2018-08-08 11:50:05 -07:00 |
|
Dustin Carlino
|
139c03ce09
|
let everyone through traffic signal; figuring out crossing time is hard
|
2018-08-08 11:01:55 -07:00 |
|
Dustin Carlino
|
a3caf09cda
|
count agents as stopped if their speed is super tiny
|
2018-08-08 10:53:10 -07:00 |
|
Dustin Carlino
|
7e6a48ebc6
|
vanish at the end of the last lane, not the beginning
|
2018-08-07 14:16:28 -07:00 |
|
Dustin Carlino
|
bdb21f5eef
|
wait, can fit more cars on lanes, actually
|
2018-08-07 14:10:19 -07:00 |
|
Dustin Carlino
|
d0744083fc
|
stop right BEFORE intersections
|
2018-08-07 14:06:31 -07:00 |
|
Dustin Carlino
|
0a0740c1bf
|
oops, nobody was actually stopping for stop signs
|
2018-08-07 13:11:25 -07:00 |
|
Dustin Carlino
|
4c0a8f588a
|
still debugging various breakages. drawing lane IDs
|
2018-08-07 12:23:00 -07:00 |
|
Dustin Carlino
|
62f2d9c40e
|
debugging sim invariant breakages better
|
2018-08-07 11:35:40 -07:00 |
|
Dustin Carlino
|
73f23549b6
|
WIP debugging a car entering a lane too quickly
|
2018-08-07 11:13:13 -07:00 |
|
Dustin Carlino
|
4e5d8eccb0
|
handling end-of-path for lookahead
|
2018-08-07 10:41:44 -07:00 |
|
Dustin Carlino
|
9dce169a88
|
working on arbitrary lookahead and not hitting lead vehicles
|
2018-08-06 16:46:08 -07:00 |
|
Dustin Carlino
|
d71c2cf70d
|
filling out more kinematics stuff, resuming aorta driving model.
stopping for intersections now seems OK...
|
2018-08-06 14:56:14 -07:00 |
|
Dustin Carlino
|
c7bae2b6ef
|
type aliases for units
|
2018-08-04 17:04:48 -07:00 |
|
Dustin Carlino
|
5b41f4a9b5
|
few things towards new driving model, without lookahead
|
2018-08-04 15:07:11 -07:00 |
|
Dustin Carlino
|
474215d478
|
moving agent stepping code to be owned by each agent
|
2018-08-04 14:10:27 -07:00 |
|
Dustin Carlino
|
676e076ae1
|
repeating determinism tests for both driving models
|
2018-08-04 13:25:09 -07:00 |
|
Dustin Carlino
|
7611be90ab
|
trying enums with delegation...
|
2018-08-04 12:26:58 -07:00 |
|
Dustin Carlino
|
bb934ff509
|
WIP making both driving models toggleable...
|
2018-08-04 09:54:13 -07:00 |
|
Dustin Carlino
|
c2306ef47a
|
forking aorta driving model from parametric one...
|
2018-08-04 08:03:55 -07:00 |
|
Dustin Carlino
|
87d040f061
|
first making driving stuff private, before making a second driving model
|
2018-08-03 14:32:08 -07:00 |
|
Dustin Carlino
|
67c81df83f
|
draw stopping buffer for cars
|
2018-08-02 11:15:47 -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
|
73f4c95bd0
|
test to make sure savestating stays deterministic
|
2018-08-01 13:37:26 -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
|
ec38ccc11e
|
refactoring common code in intersections
|
2018-08-01 11:38:35 -07:00 |
|
Dustin Carlino
|
aaf2933768
|
debug cars and peds
|
2018-08-01 09:35:02 -07:00 |
|
Dustin Carlino
|
3941621127
|
draw ped waiting for a turn
|
2018-07-31 20:31:41 -07:00 |
|
Dustin Carlino
|
473b5bf22e
|
handle missing objects in warp plugin
|
2018-07-31 13:49:04 -07:00 |
|
Dustin Carlino
|
296e16aea9
|
warp to agents
|
2018-07-31 13:25:03 -07:00 |
|
Dustin Carlino
|
c7bf59dde0
|
refactor serde multimap helper
|
2018-07-30 17:39:15 -07:00 |
|
Dustin Carlino
|
c874d432f9
|
revamping walking sim to match driving. may have some warping bugs...
|
2018-07-30 17:28:14 -07:00 |
|
Dustin Carlino
|
cc8c6453ac
|
make walking sim state match driving, with a kind of SimQueue equivalent
|
2018-07-30 17:03:33 -07:00 |
|
Dustin Carlino
|
af706f72e1
|
making the new protocol for agent/intersection interaction. it works!
\o/
|
2018-07-30 16:10:39 -07:00 |
|
Dustin Carlino
|
fe62537ee3
|
moving part of car behavior to an immutable reaction to a worldview
|
2018-07-30 15:11:15 -07:00 |
|
Dustin Carlino
|
6cc8489dfa
|
reduce some visibility
|
2018-07-30 15:01:41 -07:00 |
|
Dustin Carlino
|
93815c91f0
|
argh, broke serialization again. refactoring a nice btreemap solution
|
2018-07-30 14:50:53 -07:00 |
|
Dustin Carlino
|
7205e6d926
|
lifting intersection sim state out of driving
|
2018-07-30 14:39:15 -07:00 |
|
Dustin Carlino
|
d4f2966a5d
|
changing API of intersection policies to allow for peds
|
2018-07-30 14:22:36 -07:00 |
|
Dustin Carlino
|
19133adad8
|
fixed the broken savestating; custom multimap serialization was just
plain wrong
|
2018-07-30 13:30:30 -07:00 |
|
Dustin Carlino
|
c9b890e44c
|
hash to btree, for easier comparison in serializtion
|
2018-07-29 16:58:41 -07:00 |
|
Dustin Carlino
|
af6b7c08ac
|
fixing sim serialization after TurnID became a tuple struct
|
2018-07-29 16:34:47 -07:00 |
|
Dustin Carlino
|
cce85994f6
|
dont need a sort anymore... actually, can't run the determinism test
right now
|
2018-07-29 15:51:06 -07:00 |
|
Dustin Carlino
|
298babc85d
|
parallelizing parked->driving car pathfinding too
|
2018-07-28 11:02:28 -07:00 |
|
Dustin Carlino
|
f732335ed8
|
parallelizing pathfinding for pedestrians
|
2018-07-27 15:51:44 -07:00 |
|
Dustin Carlino
|
d22d955dbb
|
deleting and adding turns when edited
|
2018-07-26 13:06: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
|
3ed1bba5c9
|
fixing encapsulation and delegation of stuff in sim layer
|
2018-07-25 18:36:04 -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
|
30b992e7f0
|
wait, make road remember lane types too
|
2018-07-24 11:40:58 -07:00 |
|
Dustin Carlino
|
c04572e4c7
|
dont store siblings anymore, simplify LaneSpec
|
2018-07-24 10:07:31 -07:00 |
|
Dustin Carlino
|
4207b2cacf
|
rename existing roads to lanes
|
2018-07-23 20:24:53 -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
|
22b1e70707
|
info on parked cars and peds in OSD
|
2018-07-14 13:53:32 -05:00 |
|
Dustin Carlino
|
f54d581016
|
fixing pedestrian mouseover
|
2018-07-14 13:38:15 -05:00 |
|
Dustin Carlino
|
9ce7309c3e
|
making peds move, but blindly plow through intersections
|
2018-07-14 13:33:08 -05:00 |
|
Dustin Carlino
|
82460f62f5
|
making peds pathfind to a goal
|
2018-07-14 10:32:21 -07:00 |
|
Dustin Carlino
|
e5de791fa7
|
starting to model pedestrians. spawn and draw them.
|
2018-07-11 15:06:31 -07:00 |
|
Dustin Carlino
|
6f00507740
|
realizing an issue with old editor state
|
2018-07-11 13:43:47 -07:00 |
|
Dustin Carlino
|
5ffa4ba7c7
|
centering parked cars in their spots
|
2018-07-09 16:08:23 -07:00 |
|
Dustin Carlino
|
282f20e438
|
drawing parked cars
|
2018-07-09 14:17:33 -07:00 |
|
Dustin Carlino
|
db54420ede
|
fixing all tests
|
2018-07-09 13:52:08 -07:00 |
|
Dustin Carlino
|
8b58665dbd
|
handling new build errors after 1.27...
|
2018-07-09 13:44:52 -07:00 |
|
Dustin Carlino
|
2ebc13140b
|
round of rustfmt after 1.27 upgrade
|
2018-07-09 12:30:59 -07:00 |
|
Dustin Carlino
|
d3bcbe1da2
|
lots of the logic to start a parked car
|
2018-07-09 11:59:40 -07:00 |
|
Dustin Carlino
|
dbc6cd1e67
|
the first time spawning is requested, create a bunch of parked cars
|
2018-07-09 11:11:40 -07:00 |
|
Dustin Carlino
|
bf68be8870
|
moving the sim state that's driving-specific
|
2018-07-09 11:07:54 -07:00 |
|
Dustin Carlino
|
bde37d666b
|
split out some of the driving-only code
|
2018-07-09 10:36:17 -07:00 |
|
Dustin Carlino
|
75144cf2ab
|
rename a file to deemphasize strawness
|
2018-07-09 10:22:34 -07:00 |
|
Dustin Carlino
|
ddb30734c6
|
refactoring DrawCar
|
2018-07-09 10:17:20 -07:00 |
|
Dustin Carlino
|
d2c67d8b91
|
seeding with a bunch of parked cars
|
2018-07-09 09:41:05 -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
|
c6ebab1e9c
|
move some sim code
|
2018-07-08 14:00:03 -07:00 |
|
Dustin Carlino
|
e2aabeb0e9
|
refactoring drawing primitives into GfxCtx
|
2018-07-06 11:04:18 -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
|
4bdf70365e
|
making my own angle class
|
2018-06-28 15:07:48 -07:00 |
|
Dustin Carlino
|
bc92c3ca8d
|
replacing the pb with serde stuff
|
2018-06-25 18:56:57 -07:00 |
|