unorthodox-paradox / omsi_2_csb_ai_enhancements

AI enhancements for CSB vehicles
1 stars 0 forks source link

Per-application AI perception #35

Open unorthodox-paradox opened 5 years ago

unorthodox-paradox commented 5 years ago

The following applies to the shared AI (temperature) perception for adjustment of doors, windows, hatches, sun blinds, and heating / cooling functions, collectively referred to as "applications" herein.

Currently the AI, temperature-wise, perceives its environment based solely on the environmental temperature (Weather_Temperature). In reality both the inside (Cabinair_Temp) and outside temperature play a part, with different weights depending on the application.

For example, from experience it appears that drivers would adjust their window predominantly based on inside temperature and less based on outside temperature. Still, outside temperature does play a part (as do a gazillion other factors not currently taken into account) – even when boiling hot inside, when freezing cold outside, both the window's opening probability and its opening degree would tend to be lower, compared to a merely chilly exterior. Temperature-oriented door adjustment (eager opening and closing), on the other hand, seems to depend more on outside than on inside temperature.

Because perception seems to vary depending on the application, ideally we would implement a 1:1 mapping between perception and application; or add an intermediate layer for fine-tuning / adapting the generic perception to each application. Currently there is a 1:m mapping for everything besides wipers, sun blinds, and lights.

Things to consider:

Things done so far: