General > General Technical Chat

Average car contains 100 million lines of code, The State of Autosoftware

<< < (5/16) > >>

Berni:
Indeed it is no replacement for common sense of adapting your driving to the conditions.

Even saw a Tesla with its self driving loose it in a corner. It was going around a corner that was too slippery for the speed it tried to take it at, so it ends up spinning it. They do slow down in corners, but it is likely turned for taking corners in good dry road conditions.

DrGeoff:
100 million lines of code?
I don't believe that for a minute unless there are reams and reams of comments and full source revision history in every file, along with an essay of legalese and copyright information, although none of this is really 'code'.


tom66:

--- Quote from: Berni on January 25, 2023, 08:57:32 am ---Yeah these new automatic emergency braking systems are not to be relied on to just work in every situation. There is a mountain of software that makes it work, even involving AI into the mix.

--- End quote ---

I would say they are great based on a recent experience.  Car in front slammed on their brakes but they had no functioning brake lights, only to decide to turn off in front of me with no indicator either.  I probably should have noticed clues from their driving, as they seemed erratic and their vehicle was in poor condition, but I was in 'autopilot' as brains tend to do while driving.  The radar picked this up well before I noticed.  I was following with 3-sec distance and the immediate beep and red flashing warning in my face immediately directed my attention and I braked hard.  The nice thing is when AEB detects an event, it always enhances the brake response, so even a slight press is interpreted as significant braking.  Then ABS and ESP handle the stability of the vehicle.  Plenty of space to safely stop ... would I have avoided hitting them without, well quite possibly, but it definitely gave me extra margin.  Do I rely on them?  Absolutely no, the radar cannot detect all events, it's only there in addition to the meatbag in the driver's seat.

Vincent:
And now we have smartphone apps that connect to cars. Hackers' wonderland!

Never in a century will I have my car and smartphone connected together. Or my bank account and my smartphone. Or anything critical and my smartphone for that matter.

David Hess:

--- Quote from: DrGeoff on January 25, 2023, 11:52:48 am ---100 million lines of code?
I don't believe that for a minute unless there are reams and reams of comments and full source revision history in every file, along with an essay of legalese and copyright information, although none of this is really 'code'.
--- End quote ---

It will be that much when you include the code for various libraries which get dragged in due to dependencies whether the code is ever executed or not.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod