Add live spatial weight tuning
This commit is contained in:
@@ -81,6 +81,15 @@ Active build note:
|
||||
`GPSEdgeCost` (`0x44f838`), samples a generated traffic-lane spatial grid
|
||||
using the search-state coordinates, and applies highway/road/pavement
|
||||
multipliers to returned edge costs.
|
||||
- When the spatial patch is enabled, the plugin hot-reloads
|
||||
`spatial_weights.bin` from the same directory as the DLL. The file is exactly
|
||||
five little-endian float32 values in this order:
|
||||
`highway`, `road`, `GPSOnly`, `pavement`, `unknown`.
|
||||
- `tools/write_spatial_weights.py` writes that file directly, or can generate
|
||||
named preset files under `work/spatial-weights/` for live copy-over testing.
|
||||
The prepared presets are:
|
||||
`vanilla`, `current`, `highway-free`, `highway-expensive`, and
|
||||
`surface-extreme`.
|
||||
- The old verbose local-search probe is still available behind
|
||||
`kEnableGpsLocalSearchHooks`. It hooks `GPSSearch` (`0x44f054`),
|
||||
`GPSResolveHandle` (`0x44e1a8`), `GPSEdgeCost` (`0x44f838`), and the two
|
||||
|
||||
Reference in New Issue
Block a user