Vehicle control systems are overwhelmingly programmed in C, mostly from graphical design tools such as MATLAB Simulink via an automatic process. These are real time control systems which are quite different to an interrupt based operating system such as Linux. The many individual controllers must work in concert according to a strict architecture definition and timing schedule that defines the functionality of the vehicle. It’s not at all like a PC or phone, whose OS become irrelevant over time, with respect to their environment of other systems. The vehicle environment is the same environment that we inhabit i.e. the one with gravity, friction, charge and the other SI units. This is slowly changing with advent of self driving but, yeah.
It’s not a hard real time OS though. Real Time Linux would be appropriate for some subsystems in a car, but not for things that are safety critical with hard timing constraints, e.g. ABS controllers.
…linux cars? Pretty please?
Vehicle control systems are overwhelmingly programmed in C, mostly from graphical design tools such as MATLAB Simulink via an automatic process. These are real time control systems which are quite different to an interrupt based operating system such as Linux. The many individual controllers must work in concert according to a strict architecture definition and timing schedule that defines the functionality of the vehicle. It’s not at all like a PC or phone, whose OS become irrelevant over time, with respect to their environment of other systems. The vehicle environment is the same environment that we inhabit i.e. the one with gravity, friction, charge and the other SI units. This is slowly changing with advent of self driving but, yeah.
fine, fine, I learned 3/4 new things there, thanks for taking the time
You do know you can operate the linux kernel in real time, right?
It’s not a hard real time OS though. Real Time Linux would be appropriate for some subsystems in a car, but not for things that are safety critical with hard timing constraints, e.g. ABS controllers.
Yeah but the infotainment system can be Linux based.
This is correct. If using an OS, an RTOS like the Linux Foundation Zephyr OS is the right choice here.
God no