unorthodox-paradox / omsi_2_csb_ai_enhancements

AI enhancements for CSB vehicles
1 stars 0 forks source link

AI cannot recognize cloudiness early in the morning / late in the evening #5

Open unorthodox-paradox opened 5 years ago

unorthodox-paradox commented 5 years ago

Symptoms

The subset of AI vehicles switching off exterior lighting early in the morning, particularly close to the time of sunrise, appear “indifferent” to the weather in terms of cloud cover. Real-world drivers, on the other hand, even if switching off lights early in the morning on clear days, would likely prolong their use of lights on cloudy days.

Identified causes and resolution progress

OMSI exposes neither the “cloud type” nor “brightness” weather settings per se to scripts, but rather a generic value of environmental brightness, that, while dependent on those settings, also reflects the level of illumination by street lights within the vehicle’s proximity (among other factors). Precisely due to street light skew, early in the morning, vehicles cannot reliably infer whether the day is going to be clear or cloudy (fortunately they can to some extent heuristically tell the difference later during the day).

Our current sub-optimal workaround is to a) dramatically limit the percentage of vehicles that switch off exterior lights close to sunrise, and b) have the remainder of vehicles (a rough 2%) behave independent of OMSI’s stance on brightness, as a contributing factor.

User-level workarounds

None available.