General > General Technical Chat
Average car contains 100 million lines of code, The State of Autosoftware
<< < (3/16) > >>
Berni:
And it is only getting worse.

The infotainment systems in cars are increasingly becoming thrown together crap. Pretty common these days that the infotainment system bugs out and you need to fiddle with it to get it back working. In some instances i found i actually needed to park and turn the car off in order to restart it and get it working again.

On top of that they are implementing features in unsesible backwards ways. For example my Volvo from 2016 has a dedicated heated seats button that cycles an icon on the screen trough 3 heat levels. The button works even before the infotainment is even booted (so it is only there for display) and it remembers the last setting after the car is turned off. In fact it is so smart that if you leave it on a heat level of 1, the next time you get into a cold car it applies heat level 3 for a minute or two to get it up to temp quickly before going back down to the heat level of 1 and staying there. Nicely implemented feature that works like magic without having to think about it, just set and forget.

Move forwards to the 2021 model year Volvos. In comes the giant touchscreen and no buttons. Lets see how they implemented heated seats after all this technological progress. First of all there is no actual button for heated seats, you press the heated seat icon on it. Nothing wrong with that (you can only have so many hardware buttons anyway), however the implementation... ho boy. First of all the setting is no longer remembered, heated seats are off every time you start the car. Then if you want heating setting 1 right off the bat you have to press 3 times to get level 3 then level 2 then level 1 (also normal way of doing it), however if you press too quickly it will miss presses, registering only 2 of the 3 presses. Then if you have a heated steering wheel that heated seat button actually opens up a tiny menu where you press the seat icon for seats and then another icon for the steering wheel. Making it a total of like 3 to 7 presses on a touchscreen to set it up every time you start the car. This is just one example of many features that are implemented completely wrong.

Sometimes i feel like the software developers who create these infotainment systems have never owned a car.
pcprogrammer:
A lot of developers and managers think it is just like with money. The more you have of it the better it is.

But they do forget about test ability and readability. In most of these cases the statement less is more is certainly true.
tooki:

--- Quote from: pcprogrammer on January 25, 2023, 07:39:54 am ---A lot of developers and managers think it is just like with money. The more you have of it the better it is.

But they do forget about test ability and readability. In most of these cases the statement less is more is certainly true.

--- End quote ---
Maybe I’m too charitable, but I think most developers do care about those things, but with the time pressure they’re usually on, those things get neglected. And I don’t think most workplaces really actively encourage good coding practices. They’ve either jumped on the “agile” bandwagon (lowercase in quotes “agile”, i.e. sloppy free for all, not actual Agile), or they simply prioritize “finish it yesterday!” over disciplined methodology.

In contrast, I think a great many managers don’t understand the value in disciplined software development methodologies and practices. They see the time cost of doing them, and don’t appreciate the risks they take on with rushed coding.
MrMobodies:

--- Quote from: floobydust on January 25, 2023, 05:02:25 am ---Toyota still has garbage firmware in their cars. One acquaintance had her RAV throttle runaway and once my vehicle took off in reverse while backing up. That will wake a person up.
They haven't fixed the problems it seems. Their transmission control TCM is also a buggy piece of shit, constantly making bad learns on shift patterns and I have to disconnect the battery to erase them. It's like they have kids writing their software. I like the factory service bulletin about the airbags mysteriously deploying for no reason "uh let Mr. Toyota know it happened"  :palm:
--- End quote ---

I read many stories and the saddest one I remember reading was this young Chinese man who had a 1996 Corolla (not thought to be linked to the sudden acceleration of the other Toyota at the time) but it one day got out of control and and killed some people. I think he protested but they jailed him and when it proven it wasn't his fault the prosecutors still wanted him to admit fault or something like that in a deal he turned down.

Found it but not what I thought:
https://www.thegilbertlawgroup.com/blog/2015/january/man-sent-to-prison-over-toyota-sudden-accelerati/

--- Quote ---Toyota Driver Freed From Prison, Prosecutor Drops Charges
Koua Fong Lee, who was in prison for vehicular homicide, is a free man.

By ANGELA M. HILL and SUSANNA SONG June 29, 2010, 11:28 PM

Aug. 05, 2010 &#151; -- Koua Fong Lee, the Minnesota man jailed when his 1996 Toyota Camry sped out of control and killed three people, has won his freedom. After a judge ordered him freed pending a new trial, prosecutors announced they would not try Lee again for vehicular homicide. Following a four-day hearing, Judge Joanne Smith had ruled Thursday afternoon there was enough evidence to grant a new trial to Lee, who had been serving an eight-year sentence. She ordered him freed pending trial.

Lee was convicted of criminal vehicular homicide for a 2006 crash in which his Camry crashed into an Oldsmobile, killing driver Javis Adams, his 10-year-old son and injuring Adams' seven-year-old niece Devyn Bolton, who later died of her injuries. Lee granted an exclusive prison interview to ABC News in February, and at that time told Chief Investigative Correspondent Brian Ross that he pressed the Camry's brakes repeatedly but the car would not stop.

According to ABC affiliate KSTP, Ramsey County, Minnesota prosecutors said Lee could return home to his family if he accepted their offer to plead guilty to the same felony and be released immediately. The terms of the plea would mean Lee would still be a convicted felon with 15 years of probation and his driving privileges would be suspended for 10 years.

Lee, 32, said no to the plea deal.

His defense attorneys told KSTP his reason for rejecting the deal was because he continues to maintain he was pressing the brake at the time of the accident and he is not a felon. Lee's attorneys maintain the accident was caused by unintended acceleration. "I am confident that we can show Koua's Toyota ran away on him," said Bob Hilliard, one of Lee's attorneys, prior to the beginning of the hearing. "Koua's Toyota would not respond to his braking."
...
Brent Schafer, also representing Lee, said new evidence showed that Lee deserved a new trial. "We'll call witnesses who have also experienced throttle control problems in their 1996 Camry."

The family of the victims had also backed a new trial. Michael Padden, attorney for the victims' family, said his clients were "shocked" at the plea offer and "disappointed" with the prosecutors. "
...
 "They're shocked that they're dangling a carrot in front of the guy like this, because obviously he wants to be with his family but it's really a crappy offer if you think about it."
...
The Ramsey County prosecutor's office said there was no new evidence. In April, two experts hired by the prosecutor re-examined the car and reported "…there were no problems with the brakes or throttle system.  :bullshit: "They blamed the accident on driver error.

*Ramsey County Attorney Susan Gaertner expressed her sympathy to all involved in the accident, while also stating her opposition to a new trial. "But the law is clear," she said. "Newly discovered evidence is required to overturn a conviction. Despite diligent efforts, we found no such evidence."

**Lee's attorneys hired their own expert to examine the car, however, and their expert reported there was evidence that the throttle was stuck open and that Lee was pressing the brakes at the time of the collision.
--- End quote ---

**So basically the prosecutors or the people they had sent out to do the test were lying.

*The victims family supported a new trial seeing how other 1996 Camry's were reported to have the same issue. The County Attorney expressed her sympathy but opposed a new trial that the victims supported and the accused. They examined the car and came up with the same conclusion, brakes and throttle working... driver error. The accused attorneys hired their own expert who found evidence that the throttle was open and the brakes were pressed at the same time at the point of the accident. So isn't that like opposite of evidence provided to the prosecutor?

It sounds to me like the prosecutors but more to do with the attorney/judge? seemed biased and hellbent for some reason opposing a new trial and wanting him to admit it was his fault despite the evidence from other owners. It was either his fault or not and evidence show it wasn't and other people coming forward on the issue. So they try to make him an offer. Now why would they do that if they genuinely believed he was guilty? They didn't offer him a plea deal before the others came forward.

And their behaviour. I wonder why they behaved like that? Is it because he is of Chinese origin and they just happen to be racist and let it influence their decision making? or got taken in and bribed over by Toyota?
tooki:
As for infotainment systems taking over the cockpit: I think it’s gotten to the point where we’re going to need to legally mandate physical controls. It’s absolute lunacy to put essential controls onto a touchscreen. IMHO, nothing the driver needs to control during driving should be on the touchscreen.

The other thing we need to maybe do more with is voice control. We’ve gotten that reliable enough that it works very reliably for simple tasks (“hey siri set a timer for 15 minutes”) and quite well for a lot of more complex tasks (“hey siri schedule lunch with mom on Tuesday at 1pm”). I know many cars now let you do things like control air conditioning.

The problem is that voice control needs to be done really well (such as allowing a wide vocabulary for the same things), but above all, that good voice recognition and natural language processing aren’t available for most languages. It’s excellent in the major dialects of “key” languages, but tapers off quickly for less popular languages and dialects. But for voice control to substitute physical controls, it needs to work reliably in every language any driver is going to use. And since that ain’t gonna happen any time soon, physical controls it is!
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod