In one of the earlier discussions about this(like, last year) I remember an engeneer's comment about how one of the major manufacturer's (Toyota maybe?) code base for the monitoring system of the car was something to behold. On the lines of hundreds of global variables and basically unexisting standards. Now, I don't say that their or Tesla's autopilot are the same, but it wouldn't really surprise me either.