this post was submitted on 28 Jul 2024
617 points (98.7% liked)

Technology

59391 readers
3961 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] BilboBargains 19 points 3 months ago (4 children)

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.

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

fine, fine, I learned 3/4 new things there, thanks for taking the time

[–] [email protected] 3 points 3 months ago (1 children)

These are real time control systems which are quite different to an interrupt based operating system such as Linux.

You do know you can operate the linux kernel in real time, right?

[–] [email protected] 4 points 3 months ago

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.

[–] Lumisal 2 points 3 months ago

Yeah but the infotainment system can be Linux based.

[–] [email protected] 0 points 3 months ago

This is correct. If using an OS, an RTOS like the Linux Foundation Zephyr OS is the right choice here.