Detailed Road Geometry
Idea
Bring back the "detailed" road geometry: curves for the boundaries, lanes, proper intersection geometry, side-walks, traffic signs, ...
Tasks
- Generate proper geometry from the abstract OSM road information
- Handle adjacent road segments, handle intersections
- Handle number of lanes, transitions from different lane numbers, ...
- Register individual geometry-chunks as "static-objects" in the simulator
- Handle the collision response in the vehicle
- Add "stay on road" checks, ...
- Add proper rigidbody physics for the road-vehicle interactions
- Road markings ("vectorial"/spline representation) + type
- Sidewalks
- Traffic signs, lights, ...
Notes
- Some old code that did this can be found in
simulation/old-code/environment
.- If old code is adapted, it should use the proper Vector Math
- This can be built up progressively:
- Generate simple rectangular chunks for the road
- Test the junction between segments
- Test detecting overlaps
- Intersections: simple polygons
- More detailed road geometry
- ...