abstreet/docs/TODO_phase3.md

42 lines
1.4 KiB
Markdown
Raw Normal View History

2018-07-07 00:53:22 +03:00
# TODO for Phase 3 (Simulation)
2018-07-09 00:04:19 +03:00
## cars
2018-07-07 00:53:22 +03:00
2018-07-09 00:04:19 +03:00
- model cars parking
2018-07-10 22:10:12 +03:00
- make vanished cars just park again, when possible
- when parking is full or no parking at goal road, roam until parking is found
2018-07-09 00:04:19 +03:00
- code cleanup
- figure out responsibility btwn agents and managers, then fix up visibility
- rng should live in a scenario spec layer, not in the sim itself
- on a lane vs turn permeates so many places
2018-07-09 00:04:19 +03:00
2018-07-07 00:53:22 +03:00
- better visualization
- draw moving / blocked colors (gradually more red as they wait longer)
- draw stop buffer in front/behind of cars
- draw cars in slightly different colors, to distinguish them better
- start implementing a second AORTAish driving model
- then make cars park/unpark at the correct position
2018-07-07 00:53:22 +03:00
- reversible sim
2018-07-09 00:04:19 +03:00
## bikes
2018-07-07 00:53:22 +03:00
2018-07-23 20:50:01 +03:00
- model bikes as slow cars
2018-07-07 00:53:22 +03:00
2018-07-09 00:04:19 +03:00
## pedestrians
2018-07-10 22:10:12 +03:00
- make them start and end at buildings
- trim the sidewalk path to the edge of a building
2018-08-01 00:13:15 +03:00
- render overlapping peds reasonably
## General
- savestating a sim has nondet output due to hashes; switching to btree is kind of weird
- unit test that two savestates of same sim are equal
- diffing two sim states is tedious no matter what; is there a nice macro-driven deep equals we could do instead?
- will need programmatic diffs later for pointing out changes to players in A/B tests
- consider refactoring car/ped sim
- basic structure with actions, react, stepping is same. SimQueue, lookahead, can goto? differs.