by BuildTheRobots · 8y ago · 0 comments
Not sure if you're deliberately joking or not, but the quality of software in Toyota cars is hilariously awful.
There was a stunning writeup by one of the people who got source code to investigate the unintended acceleration issue a few years back. [1]
IIRC, as part of the cruise control, if they decided the car was going too slow it'd be given a command to accelerate. There was a second process which checked the speed, and once the car was going fast enough, it'd kill the accelerate process. Except the check/kill process would regularly crash, so the car would be told to accelerate and then nothing would be there to tell it to stop. Don't worry though, there's a software watchdog process to catch this! Except the watchdog ran under the same process manager as the check/stop script, so when the stop script crashed it'd take the watchdog process down too - and this was only the top of the iceburg when it came to problems.
tldr: software quality in Toyota's was abysmal and there's little reason to believe it's gotten fundamentally better.
[1] https://users.ece.cmu.edu/~koopman/pubs/koopman14_toyota_ua_...
[1.5] Actual Talk: https://betterembsw.blogspot.co.uk/2014/09/a-case-study-of-t...
Computer Engineer: If cars advanced as fast as computers, they'd go mach 1 and get thousands of miles to the gallon by now!
Car Engineer: If cars progressed like computers they'd inexplicably die on you and you'd have to uninstall and reinstall your tires to get it to drive again