Live data from Hacker News

Former Tesla Firmware Engineer Discusses the System

twitter.com

91–100 of 589 posts

Re: Former Tesla Firmware Engineer Discusses the System

#92
post #62

Earlier quoted context omitted.

> the rockets fly with a heavily customized Linux install My jaw hit the floor the first time I heard this. Why Linux instead of an RTOS?? Apparently Tesla's autopilot also runs Linux, which seems like a huge accident waiting to happen (pun intended).

Yeah I don't even do embedded work or anything real-time and even I know that in applications like this you should probably be using something like Green Hills Integrity RTOS.

(no judgement) Given that you've never worked in the field, what makes you think that?

Re: Former Tesla Firmware Engineer Discusses the System

#93

I used to work at SpaceX on the team that did a piece of software called "WarpDrive". It was a massive monolithic ASP.NET application, with large swaths done with ASP.NET WebForms and a slow frontier of ASP.NET MVC gradually growing when I was working there. This application was responsible for practically everything that ran the factory: inventory, supply chain management, cost analysis, etc. Elon is a big Windows f…

> the rockets fly with a heavily customized Linux install My jaw hit the floor the first time I heard this. Why Linux instead of an RTOS?? Apparently Tesla's autopilot also runs Linux, which seems like a huge accident waiting to happen (pun intended).

They could have used RTEMS (was designed for missiles) - on some level, if you design accordingly, you dont need a realtime operating system anymore - you can get by without it, and its easier to find people to design software in my opinion for not an RTOS

Re: Former Tesla Firmware Engineer Discusses the System

#94

I used to work at SpaceX on the team that did a piece of software called "WarpDrive". It was a massive monolithic ASP.NET application, with large swaths done with ASP.NET WebForms and a slow frontier of ASP.NET MVC gradually growing when I was working there. This application was responsible for practically everything that ran the factory: inventory, supply chain management, cost analysis, etc. Elon is a big Windows f…

> the rockets fly with a heavily customized Linux install My jaw hit the floor the first time I heard this. Why Linux instead of an RTOS?? Apparently Tesla's autopilot also runs Linux, which seems like a huge accident waiting to happen (pun intended).

Any substantiated argument why using Linux "is a huge accident waiting to happen"?

Did you know that Linux can handle hard RT, if you use the right hardware (and maybe the right kernel/patches).?

Re: Former Tesla Firmware Engineer Discusses the System

#95
post #79

Earlier quoted context omitted.

Ignoring the infotainment system for this argument (as they firewall it off from CANBUS and other life critical systems [1]), I argue that their IT infrastructure is safety related, as it governs Tesla's velocity in getting patches and security fixes out to vehicles in a timely manner. Can you imagine a zero day being found in Windows with Windows Update being down? [1] https://www.youtube.com/watch?v=KX_0c9R4Fng

There's no guarantee that any given car is connected and receives updates, so the safety-critical systems need to be good enough when the car ships. They might mess up, but then they'd at least be able to patch cars faster, while other manufacturers would have to do a recall.

[deleted]

Re: Former Tesla Firmware Engineer Discusses the System

#96

Sometimes I miss the carburetor.

Did you ever have to stand outside in the winter, in ice and show, with the hood propped open, spraying starting fluid into the carburetor, and manually holding the throttle open, so that your engine could get to the proper temperature? Did you ever floor a car and have the engine shut off because there was too much fuel? No thanks, I don't want to go back to those days!

I mean, 'JohnJamesRambo did say sometimes.

Re: Former Tesla Firmware Engineer Discusses the System

#97
post #8

Why is this interesting or surprising? Of course almost all challengers have hacky tech under the hood because they don't have the resources. Winning from that position is possible not because of generally better tech but by delivering something that the incumbents don't. Remember the demo of the first iPhone (vs the huge expertise of Nokia). Or how Microsoft won the desktop starting from a single user, cooperative m…

[deleted]

Re: Former Tesla Firmware Engineer Discusses the System

#98

Earlier quoted context omitted.

Yes, but he's already marked as "former", so recovery is limited. See the Waymo lawsuit.

So, after separating from company, you can release all proprietary information and you'd have limited liability? I thought there would be larger recourse. Not familiar with law though.

>His NDA has expired.

Re: Former Tesla Firmware Engineer Discusses the System

#99

Earlier quoted context omitted.

> the rockets fly with a heavily customized Linux install My jaw hit the floor the first time I heard this. Why Linux instead of an RTOS?? Apparently Tesla's autopilot also runs Linux, which seems like a huge accident waiting to happen (pun intended).

As a person who used to write navigation and control software for autonomous vehicles who occasionally gets downvoted for telling people that you really don't need a fancy RTOS for this stuff, you really don't need a fancy RTOS for this stuff. Linux is a very common platform for highly responsive robotic systems. I promise that their pid control isn't an Electron app.

Agree completely. Hard real time is possible with Linux, we use it for sub millisecond control of Traffic Lights. The only issue we ever hit is proving that the code running is the stuff we expected to run.

Re: Former Tesla Firmware Engineer Discusses the System

#100

I do not want a car that someone I've never met can "ssh" into, or any other remote access method. Think I will be holding on to my ten year-old car as long as possible.

I hear you there! I'm planning to keep on maintaining my 1992 Land Rover indefinitely, because I don't trust these systems.
Post reply on HN